Foundations
1 / 170FoundationsLesson 1 of 5About 11 min
What the pieces are, how to move through them, and the one habit that decides whether any of this sticks.
This course teaches you to solve interview coding problems, using the 150 problems in the NeetCode 150 as its backbone. It is meant to be the only thing you need. There is no companion video, no separate problem list, no article you are supposed to go read.
You work top to bottom. Every problem arrives after the ideas it needs have already been taught and practiced, so when you hit it you should be able to make a real attempt. That is the whole design.
Lessons mix a few kinds of block. Readings explain an idea. Drills make you use it immediately: predict what code prints, pick which version breaks, fill in how a stack evolves step by step, fix a bug, write a small function. Then there are the problems themselves, in the same workspace you would use anywhere else on CodeGround, with the same grader. Solving one here marks it solved everywhere.
Help is available and you should use it when you are truly stuck, in this order: a nudge, then a hint, then an explanation, then the solution. The assistant will not hand you an answer before you have attempted the problem, and that is on purpose.
Everything here is in Python. If you are coming from Java or C++, the next three lessons will get you to the point where the language stops being the thing slowing you down. If Python is already comfortable, skim them and do the drills anyway. They are short and they catch the specific gaps that cost people problems later.
A one-line warm-up to confirm the Python runtime works in your browser. Make greet return the string Ready, then press Run tests. The first run downloads the Python runtime and can take a few seconds; later runs are instant.
Tests
print(greet())Output
Run tests to see output.