Pergunta de entrevista da empresa OYO

1. question asked related to Tree, queue, stack, arrays.