LIVE DEMO — REAL PYTHON RUNNING IN YOUR BROWSER

Algorithms & Data Structures Log

Try the actual Python solutions below — powered by Pyodide (Python compiled to WebAssembly)
These run the real code, not a simulation — enter your own input and see the actual function execute. Java solutions are in the source repo but can't run in-browser without a JVM.
⏳ Loading Python runtime (Pyodide)... this takes a few seconds on first load.

Two Sum

Hash map lookup · O(n) time

Valid Parentheses

Stack · O(n) time

Binary Search

Divide and conquer · O(log n) time

Maximum Subarray (Kadane's Algorithm)

Dynamic programming · O(n) time