Skip to main content
CRUCIBLE

Timed Cold Drill Arena

74 PYTHON, POSTGRESQL & DSA DRILLS · PYODIDE & PGLITE WASM
15:00
0 / 74 DRILLS PASSED (0%)PYODIDE WASM · 100% BROWSER-NATIVE
M04 · PYTHON · 15 MIN · CRUCIBLE PRO DRILLALL 3 M01 DRILLS + 3 DSA DRILLS ARE FREE TO RUN LIVE

DSA · Shortest Path in Grid BFS (4-Directional Queue)

Implement shortest_grid_path(grid: list[list[int]]) -> int returning the fewest steps from (0, 0) to (R-1, C-1) moving 4-directionally through 0 cells (1 = blocked), or -1 if unreachable.

100% BROWSER-NATIVE PYODIDE PYTHON & POSTGRESQL (PGLITE) WASM RUNNER (74 DRILLS) · ZERO LOCAL INSTALL OPEN M04 5-STAGE GAUNTLET