Pergunta de entrevista da empresa LTM Limited

basic algorithms questions were asked.