Pregunta de entrevista de Chatous

Algorithm and data structure as well as specific language questions.