In The Upside Down
CodeChefOpen on judge ↗
Through some mysterious circumstances, Eleven is transported to the Upside Down, a parallel world filled with monsters. She wakes up and finds herself in a huge maze. She observes that the maze is shaped like a grid with m rows and n columns. She starts off initially at the position `(0, 0)`. She spots a portal at `(m-1, n-1)` which is the bottom right corner of the grid. She wants to find the s
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start