Subway Interview Question

very light and easy questions.