8000 GitHub - shyal/leetcode: Collection of python / typescript / rust drills, with leetcode problems · GitHub
[go: up one dir, main page]

Skip to content
shyalPublic

About

Collection of python / typescript / rust drills, with leetcode problems

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3,333 Commits

Folders and files

Repository files navigation

Run Tests Virtual contests: the proven rating over their problems

This is a mix of leetcode problems, as well as several language drills. The contest badge is LeetCode's contest rating formula applied to my virtual contests, which LeetCode itself does not rate: my virtual rank against the real field of each contest, sampled.

Progress: algorithms first sight, algorithms current reach, python, typescript, rust, sql, systems design

The technique graph

Each problem is a set of techniques. Each technique is a node, and an edge connects a technique to the techniques it needs.

Technique graph as a map, growing solve by solve

The mock simulator

A Monte Carlo of cold mocks, drawn from the graph state on each date.

P(pass a mock) over time

Individual simulated mocks over time

Share of simulated problems failed, by group

Elo

Every Elo here is first sight only.

Elo per 100 hours on problems seen for the first time

Rating of the problems attempted

Rating of the problems attempted in the last 30 days

Elo against hours of recorded solving, with the Carnegie Mellon rate

Elo history and its projection to the onsite line, on dates

Actual minus model on the last 30 first sights

Backlog and forecast: review cards, solves by kind, STALE and FRAGILE nodes

Volume

Solves, drills and commits, read from the git history of this repository.

Solves and drills per day

Tooling commits versus solves

The forgetting curve

The model is power-law forgetting with a slip rate: P(recall) = (1 - slip) * (1 + Δ/s)^(-β). The stability s increases with each clean rep and decreases with each fail. The chart compares the predictions of the model with the recall results. The recall trials are in groups by the gap since the last rep of the node. A point outside its band shows a gap where the model is wrong.

Forgetting curve calibration: predicted against observed recall, by gap

The model has one curve for all groups of techniques. The next chart shows, for each group, the sum of observed recall minus predicted recall over time, in standard deviations (z). A group below -2 forgets faster than the curve predicts. A group above +2 recalls better than the curve predicts. The white line is all groups together.

Residuals per group over time: observed minus predicted recall, in standard deviations

The next chart replays the full history. Each dot is one technique node on its curve: the memory component (1 + Δ/s)^(-β) against the days since the last clean rep. A dot moves to the right while the gap increases. A clean rep puts the dot back at the left, on a flatter curve, because the stability s is larger. A node is solid (green) while its memory is at or above the target retention, and stale (gold) below it. A node whose last rep was a fail is fragile: it is not on a curve, and its dot is hidden until the next clean rep. The replay stops on the state of today. The faint lines are the curves of today.

Nodes on their forgetting curves, replayed over the full history: memory against days since the last clean rep

Earlier charts

These charts are frozen copies from earlier versions of this README. Their renderers were deleted on 2026-09-20 with the Python library they used, and the models that drew them have changed since. Before 2026-10, the picker gated what it served, and that gate made the pass and readiness numbers too high. The charts above are redrawn by every make readme.

The technique graph in three dimensions (2026-09-01)

The technique graph in three dimensions, turning while the history replays

The zone of proximal development (2026-09-01)

The picker served a problem only when its input tree had one fragile or stale node and all other nodes were solid.

The input tree of each of my last 50 solves, one per second

The forgetting curve (2026-09-01)

The model is power-law forgetting with a slip rate: P(recall) = (1 - slip) * (1 + Δ/s)^(-β). The stability s increases with each clean rep and decreases with each fail. The model compares its predictions with the results, per group and over time.

Review timing

Solve time (2026-08-25 and 2026-09-01)

How solve time changes with repetition and shared moves

Move connectivity vs solve time

What a solve buys

Two kinds of sideways

Problems in reach

Leetcode sitecustomize, harness and helpers

Moved to HARNESS.md.

About

Collection of python / typescript / rust drills, with leetcode problems

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0