Leetcode 332 - Reconstruct Itinerary (JAVA Solution Explained!)

preview_player
Показать описание
Leetcode 332 - Reconstruct Itinerary (JAVA Solution Explained!).

If you like this video, please 'Like' or 'Subscribe'. This is really helpful for my channel and also motivates me to do more. My goal is to finish 100 Leetcode problems in the following months. Stay tuned!
Рекомендации по теме
Комментарии
Автор

Oh wow, you used a stack to do it. I tried to solve it with DFS, but found it very hard to understand. I enjoyed building the map every time. However when it comes to the dfs part, I just can't find a way out ... I really appreciate your video though, did you work on these questions before, how come you are so good when you are just starting to do it?

yitingg
welcome to shbcf.ru