Palindrome Linked List
Given the head of a singly linked list, return true if the values read the same forwards and backwards.
Spiral 50: algorithms and data structures for coding interviews
Lifetime access for $39
You still need to solve LeetCode-style problems in an interview, even though AI writes most of your code nowadays.
Companies are testing new interview formats, but these usually come in addition to the standard coding interview, not instead of it.
So there is even more to prepare for, and no one knows how it will change in the near future.
The solution is not to wait until everything stabilises, or to avoid standard coding interviews altogether.
It is to prepare in the most efficient way possible.
Solve 50 problems with a spiral learning method where each pattern you learn comes back repeatedly in later problems, combined with harder ideas.
Every concept you learn comes back several times in later problems, combined with harder ideas. So you reinforce what you learn through repetition.
Other problem lists like NeetCode 150 or Blind 75 group problems by a specific technique. The issue with this approach is that you know which technique to use before you read the problem. Here, problems are grouped into four broader chapters. You build a techniques basket along the way, and a problem might need any technique from it. This way you learn to recognise the patterns in any problem.
You don't need to solve 1,000 problems to prepare for an interview. This course contains only 50, but they cover all the data structures and patterns you need, in proportion to how often each one comes up in interviews.
Besides the raw problems, there is a complete roadmap, from A to Z, that explains every technique in a separate lesson. The lessons are practical too, they include exercises on implementing common data structures and algorithms. All the techniques and problems are ordered by difficulty, and each problem comes only after the technique it needs has been explained.
It runs your code and shows the exact state after every line. It draws variables, stack frames, objects and pointers, and identifies common data structures like arrays, hash tables, stacks, queues, linked lists, trees and graphs.
Being able to explain how your code runs is an important signal in a real interview, so you learn and practise it on every problem.
Each problem comes with an illustrated solution, so the approach is easy to understand and clearly separated from the code implementation. It's much more efficient than watching a one-hour video for each problem.
Ideally, you'd describe your approach to the interviewer in a similar way, so you build this habit straight away.
Given the head of a singly linked list, return true if the values read the same forwards and backwards.
Given an array of intervals where intervals[i] = [start, end], return a new array with overlapping intervals merged.
You are given an integer array lines, where each element is the height of a vertical line standing at that index. Two lines and the axis between them form a container. Find the two lines that form the largest container and return its area.
Lifetime access for $39
Read the first chapter and solve its problems for free. If the course works for you, one payment unlocks the rest.
No. You can read the free content without signing in. Sign in only if you want to track progress or submit a solution.
No. You pay $39 once and the rest of the course unlocks for your account.
Python, JavaScript and Java today, and we are working on adding more. Let us know if you need another language supported.
No. The course stays free for early access users. Sign in with the same account to unlock it.