Algorithmic interview preparation

Solving the problem is half the job. The other half is explaining the solution.

Problems from real interviews, an editor with tests and a review that acts like an interviewer: it asks about complexity, edge cases and your choice of data structure.

38
problems with solutions
Python, JS, Java
checked against tests
9 topics
patterns interviewers ask about
two_sum.pytests.py
tests 2/2
Review · interviewer questionO(n²)

The tests pass, but you search for the same element twice. With 10⁵ items this won't fit the time limit. Which data structure gives O(1) lookup?

Answer as you would in an interview…Answer
02 · How a problem works

Not “right / wrong”, but a conversation, like in an interview

Step 1

Solve in the browser

Python, JavaScript or Java. The code runs and is checked against tests, edge cases included.

Step 2

Get a review

Time and space complexity, weak spots and the question an interviewer would ask.

Step 3

Explain the solution

Answer follow-up questions and compare your solution with the reference one.

03 · Lists

Sets for each type of company

Product company, fintech or a contest — each format has its own typical problems.

04 · Course · 6 modules

You can solve problems. Explaining them is harder.

Interviews grade your reasoning out loud. In the course every solution is reviewed against interviewer criteria: complexity, edge cases, justification.

399 ₽1 490 ₽
One-time payment, lifetime access, no subscription
  1. 01Arrays and hash tables
  2. 02Two pointers and sliding window
  3. 03Trees and graphs
  4. 04Dynamic programming
  5. 05Complexity analysis
  6. 06Explaining out loud

Start with any problem. The review comes right after the first tests.

Open problems
SprintCode - Platform for Technical Interview Preparation