Pergunta de entrevista da empresa Amazon

Something about expression tree and an array question