Pergunta de entrevista da empresa Traveloka

Logic question and android specific question.