Pregunta de entrevista de Amazon

so i got questions of Networking, SQL and APIs and 2nd round was Technical virtual round where he asked Deck Array problem which consist of one Array and divide into two subArrays and both sum should be equal, then he asked some Scripting questions.