Back to directory

TorchLeet

A collection of 68 PyTorch problems drawn from real machine learning and AI engineering interviews at companies such as Google, Meta and Anthropic, worked through in Jupyter notebooks with an optional MCP-based AI tutor that gives progressive hints without the answer.

TorchLeet

TorchLeet is a set of 68 PyTorch practice problems taken from real machine-learning and AI engineering interviews at companies including Google, Meta and Anthropic, organized into a Basics track, an LLM-building track that constructs a language model from scratch step by step, and an Advanced track covering systems, kernels, modern architectures and alignment; some questions are tagged with the company that asked them.

Each problem is a Jupyter notebook with a question file and a separate solution file, meant to be solved by hand rather than by pasting into a general chatbot, since the intended learning happens in struggling through the problem.

An optional MCP server turns a connected AI assistant into a tutor with access to all the problems, offering progressive hints, company-specific mock interview prep, a senior-engineer-style code review, and a no-spoilers teaching style, through four separate guides for tutoring, interview practice, review and deep explanation.

More in Tutorials

See all 478
  • BootLife

    github.com

    Conway's Game of Life implemented to run directly from a 512-byte x86 boot sector in assembly, using VGA memory itself as the simulation grid.

  • A technical blog post deriving the Y combinator as a composition of combinator birds in an array language, and examining how eager evaluation changes fixed-point recursion compared with the usual lazy telling.

  • System Design Atlas

    atlas-sysdes.vercel.app

    A free reference of worked system design problems with interactive architecture diagrams, covering ranked designs such as a feed, a chat app, a URL shortener, and a rate limiter, plus pages on the technologies behind them.