Question: https://leetcode.com/problems/reconstruct-itinerary/description/ Phrased in a different way.
Interviewer forgot to add the last line from the question - "You may assume all tickets form at least one valid itinerary. You must use all the tickets once and only once."
The test case shared didn't match the question contraints, after asking for clarification the interviewer pasted the last line where all the places must be used once. Took some time to discuss understand the question, later proposed backtracking approach.
Implemented the solution and one test case failed. Didn't have time to fix it.
Comments (1)


