~/options
options(1)
Every flag the app takes, what it actually does, and the numbers behind it. Nothing here is a mock-up: it is all live in the app and the studio.
OPTIONS
- -e, --editor
- Monaco with the TypeScript language service checking your JavaScript: completions, hover types, errors as you type, go-to-definition and rename.
- -t, --tests
- The examples of every problem as runnable cases. PASS/FAIL per case,
in / out / expwith a^^^under the diff,console.logper case. - -b, --bench
- Empirical Big-O: timings on growing random inputs, a log/log plot against O(1), O(n), O(n log n) and O(n²) guides, and the heap used per input size.
- -s, --sandbox
- Runs in your browser in a Web Worker, killed after 10 s. Your code never touches a server.
- -d, --design
- Low-level design interviews in seven steps: clarify, entities, class diagram, patterns, sequence, implement, review. Diagrams are text you can drag, link and copy; the coach checks relations, responsibilities and pattern shapes as you go. See lld(7).
- -k, --keys
- Keyboard first. A vim-style
:command line, real vim mode (:vim on), tmux-style panes onctrl+b, fuzzy open onctrl+p. - -x, --xp
- Easy 10, medium 25, hard 50. Ranks from hello world to kernel hacker, a contribution heatmap and a daily streak on your own calendar.
- -T, --theme name
- 7 palettes, five dark and two light. Switching to a light one comes with a warning, because you are a developer. Try them below.
- -l, --lists
- Problems grouped into curated lists, filterable by topic, difficulty and status.
BY THE NUMBERS
Counted from the problem files at build time.
easy ███████░░░░░░░░░░░░░░░░░░░░░ 66 medium ██████████████████░░░░░░░░░░ 157 hard ███░░░░░░░░░░░░░░░░░░░░░░░░░ 24 total ████████████████████████████ 247
lists
essentials 150 ████████████████████████████ 150 popular 100 ███████████████████░░░░░░░░░ 100 starter 75 ██████████████░░░░░░░░░░░░░░ 75 classic 75 █████████████░░░░░░░░░░░░░░░ 69
most common topics
array ████████████████████████████ 119 string █████████████░░░░░░░░░░░░░░░ 54 hash table ███████████░░░░░░░░░░░░░░░░░ 46 dynamic programming ██████████░░░░░░░░░░░░░░░░░░ 44 two pointers █████████░░░░░░░░░░░░░░░░░░░ 40 depth-first search █████████░░░░░░░░░░░░░░░░░░░ 37 tree ████████░░░░░░░░░░░░░░░░░░░░ 35 binary tree ████████░░░░░░░░░░░░░░░░░░░░ 34 breadth-first search ███████░░░░░░░░░░░░░░░░░░░░░ 31 linked list ██████░░░░░░░░░░░░░░░░░░░░░░ 24 math █████░░░░░░░░░░░░░░░░░░░░░░░ 23 sorting █████░░░░░░░░░░░░░░░░░░░░░░░ 22
design
logger ████░░░░░░░░░░░░░░░░░░░░░░░░ 7 parking-lot █████░░░░░░░░░░░░░░░░░░░░░░░ 8 vending-machine █████░░░░░░░░░░░░░░░░░░░░░░░ 8 rate-limiter █████░░░░░░░░░░░░░░░░░░░░░░░ 8 splitwise █████░░░░░░░░░░░░░░░░░░░░░░░ 8 elevator-system █████░░░░░░░░░░░░░░░░░░░░░░░ 8 scenario tests ████████████████████████████ 47
KEYS
- ctrl enter
- run the examples
- ctrl shift enter
- run and check the complexity
- : or ctrl ;
- command line (
:help,:theme,:vim on,:design) - ctrl p
- open a problem by name or number
- ctrl b then ?
- tmux-style panes: move, zoom, minimise, restore
- alt t
- jump to the test cases
- alt ← →
- previous / next step in the design studio
- t
- on these pages: cycle the theme