The LeetCode for MLE

The interview grind, built for machine learning engineers.

2,789 problems across 13 topics. 543 free.

Practice questions reported by interview candidates or solve interactive exercises with browser tests and topic ratings.

Written and verified by LeetML. Interview-reported questions carry company labels.

Try one now

3 questions
problems
2,789
topics
13

01Study plans

Pick a list. Work it easy to hard.

Curated lists for each loop. Open a list to start practicing.

New to a topic? Learn it step by step.Short lessons on the concepts behind the questions. Learn the concepts

02The bank

Every topic the loop asks about.

2,789 problems across 13 topics, grouped the way interviews are. Pick a role to see where its loop leans, or open any topic.

03How it works

Answer, check, go again.

  1. 1Solve it on the page

    Type a number or an expression, pick an option, or step through a multi-part problem, then compare with the worked solution.

  2. 2Python in your browser

    Coding problems open in an editor that runs your code against test cases right on the page. No setup.

  3. 3A rating that steers you

    Each solve updates a per-topic skill rating, which picks your next problem at the right difficulty.

Panels illustrate the interface; they are not live results.

04Plans

Start free. Go Pro for the whole bank.

Free
$0forever
  • 543 free problems with full solutions
  • Grading and the code editor included
  • Progress and skill rating with an account
Create free account
Pro
$19per monthor $149 per year
  • All 2,789 problems and solutions
  • Every study plan, start to finish
  • Annual billing costs 35% less than a year of monthly
See Pro plans

Prices in USD, before any local tax. See the pricing page for current plan details.

05Questions

Frequently asked

Which roles does it cover?

ML engineers, data scientists, research scientists, applied scientists and AI engineers. Each problem is tagged with the roles it suits, and you can filter the bank by role.

What is free and what needs Pro?

A set of problems is free, with full solutions, grading and the code editor. Pro unlocks every problem in the bank and its solution. You can browse the free set without an account; an account saves your progress.

How does grading work?

Numeric answers accept equivalent forms, so a fraction, a decimal or an expression that evaluates to the right value all count. Multiple-choice and multi-part problems are checked per part. Coding problems run your function against test cases. Open-ended questions, such as design problems, come with a model answer to compare yours against.

Which languages does the code editor support?

Python, for now. It runs in your browser, so there is nothing to install.

Where do the problems come from?

It is a curated bank written and verified by the team. Problems that were reported from real interviews are labelled with the company they were reported at.

Guides

The quickest way to see if it fits is to solve one.