Pregunta de entrevista de Treebo Hotels

stack and dynamic programming related problems