Pregunta de entrevista de Flipkart

first interview round - 2 questions: array(easy to medium) and sorting second interview round-2 questions : array(medium to hard) and tree(easy to medium)