leetui

v0.1.0 macOS · Linux · Windows github

Solve LeetCode without leaving the terminal.

All 4,013 problems live on your own disk, so the board answers while you type.

iInstall

↑↓ move · enter copy
curl -fsSL https://raw.githubusercontent.com/Nano-AI/leetui/main/install.sh | sh

Read it first. That goes for every install script.

Session

recorded off the program
The leetui board: a dense table of LeetCode problems with columns for number, todo, mark, title, difficulty, acceptance rate, state and the company that asked it.

Every frame is the program, not a mockup.

Local

after one sync

/Find

local index

Titles, tags and full statements, searched on the local index — no network call, so it answers while you type.

Searching for tree: a search field above the board and 378 matching problems below it, with the query highlighted in each title.

eSolve

e your editor · r runs the examples here

Statement on the left; your file and every past verdict on the right. e opens your editor, r runs the examples without leaving.

A problem open in leetui: the statement with examples and constraints on the left, and the solution file path, language and submission history on the right.

sSubmit

no spinners

There are no spinners in leetui. A pending verdict is a flap held mid flip.

Terminal output of leetui run: five test cases, each marked ok, ending with All 5 cases passed.
0020 python3

Accepted commits itself. Pushing asks first.

?Keys

all remappable

Every binding on one screen, behind ?.

The keys screen: two columns of bindings grouped under Move, List, Find, Solve, Worth redoing, Lists, Premium and Do.

Doctor

what this machine is missing

Session cookies go to the OS keychain, never to disk. leetui doctor reports what this machine is missing before you sync.

Output of leetui doctor: the workspace path, five local runners all reporting ok, the detected editor and terminal, and inline image support.