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 · Kahn Topological Sort & DAG Cycle Detector

Implement topo_sort(nodes: list[str], edges: list[tuple[str, str]]) -> list[str] returning a valid lexicographically smallest topological ordering of directed dependencies (u -> v) (use a min-heap), or [] if a cycle exists.

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