Pregunta de entrevista de BNY

Two array based DSA questions, sql and resume based