Swim in Rising Water - Hard Python Advanced Graphs Interview Problem | Unnested