
Practice computer science algorithms offline, for job interviews or personal skill building: read a problem, write C, run the full test deck, and get a deterministic verdict with instruction counts and the output assembly language code on a fantasy RISC machine.
NOTE: This program expects you to have an understanding of the essentials of the C language. C++ or other languages are not supported.
Algorithms is a self-contained offline algorithm practice app. With a built-in retro C compiler and 150+ algorithmic problems to solve across twenty categories, you will train yourself for programming job interviews, learn new algorithms and tricks, and keep your programming skills fresh in the times where nobody wants to code anymore.
Browse a searchable catalog with difficulty, category, and solved state
Open a problem: read the description, example inputs and outputs and hints if you get stuck
A real-time source disassembly helps you understand how your C code translates into machine code
Use asm { } blocks and drop down to assembly if you dare
Run the complete test set, including hidden cases, and validate your solutions
Record accepted runs with tests passed, instructions executed, and code size
Inspect compiled instructions that follow the editor caret
Choose to code in a polished modern environment, or a retro environment simulating 1980s GUIs.
The sandboxed virtual machine has no clock, no randomness, and no host access. The same solution costs the same number of instructions on every machine, so a recorded best is worth comparing.
Algorithms has no accounts, no cloud service, no subscriptions and everything runs locally. You can use it on a plane, a deserted island, or in a submarine.