12.04 · Problem
Swim in Rising Water
This problem is part of solulu Pro
In an n × n grid, grid[r][c] is the elevation of a cell; the values are a permutation of 0 … n²−1. At time t the water level is t, and you can swim between 4-directionally adjacent cells if both elevations are at most t…
Lifetime ₹1,999 ₹999 · Launch offer
Item 96 of 150 · updated 2026-10-12