Run uses paiza.io's free guest API (no key, no card). It needs this proxy because paiza.io doesn't allow direct browser calls. Deploy worker.js on Cloudflare Workers — entirely through their web dashboard, no terminal or install needed — then paste the URL it gives you here.
Signed in above? Visualize uses free daily quota automatically — no key needed. Signed out, or want to keep going past your limit? Get a key at aistudio.google.com/apikey and paste it here; it's kept in memory only, sent directly to Google, never stored.
Output
Visualize
Run your code to see output here.
Run your code successfully first — Visualize turns a clean run into an animated, step-by-step diagram of how your algorithm moves through its data.