Rust · Open source · MIT
Coding-interview practice in your terminal, solved in your own editor. Pick a question, write the solution where you write all your code, and dojo re-runs the tests every time you save. It times you, tracks what you've mastered, and tells you what to practice next.
One session in real time: first-run setup, /solve two sum, the problem in nvim, a failing save, /hint, the fix, /submit, then /report.
500
questions
6
languages
151 / 276 / 73
easy / medium / hard
0
accounts needed
No browser textarea. dojo opens the question in vim, VS Code or whatever you use, and every save runs the visible tests.
A timer against each question's target time, hints only when you ask, and the explained solution only when you give up. All of it counts toward how well you know a topic.
Mastery per topic and per company, weighted toward what you did recently, and a suggested next question aimed at your weakest topic.
One binary and a local SQLite file. No account, and nothing leaves your machine.
Pick your editor and language once. dojo lists the editors it finds and checks your toolchains.
/solve shows the problem and starts the timer. Press Enter when you are ready to code.
Your editor opens on a fresh file with the problem in a comment on top, so it stays in view while you work.
Every save runs the visible tests. A failing case shows the input, what was expected and what you returned.
/submit runs the hidden tests too, then records your time, runs and hints.
Every question is tagged by topic, company and difficulty, and /list filters on any of them.
What you have solved, how fast, your activity, and the questions worth doing next.
Every topic ranked by mastery, with how much evidence sits behind each score.
Homebrew · macOS and Linux
brew install abahocodes/tap/dojo Install script
curl --proto '=https' --tlsv1.2 -LsSf \
https://github.com/abahocodes/dojo/releases/latest/download/dojo-installer.sh | sh Prebuilt binaries for macOS (Apple silicon and Intel) and Linux (x86_64 and arm64) are on the releases page. You also need the toolchain for the language you solve in: Python 3.10+, Node.js 18+, a JDK 17+, a C++17 compiler or Go 1.21+.
Then run dojo and type
/solve 1 start on question 1 (or a slug, or search words) /solve graphs -n 3 three graph questions in a row /solve need the questions that close your biggest gaps /hint a nudge, three per question /submit run the hidden tests too /report mastery by topic, company and difficulty