Pregunta de entrevista de Google

Dsa question related to query array and zero array.