Don't forget LeetCode
Everything else in this handbook makes you sound like a staff AI engineer. None of it gets you past the data-structures round. Most loops still open with one, and strong system-design answers do not buy a pass on it.
The habit
Five rules that matter more than volume
Spaced repetition beats cramming. Twenty minutes daily keeps recall warm; a Sunday marathon does not.
Arrays & hashing, two pointers, sliding window, binary search on the answer, heaps, intervals, graphs, DP, tries. Nine patterns cover most of what gets asked.
Every solution ends with time and space, and the trade-off you chose. Silence here reads as not knowing.
No autocomplete, no running the tests until you have reasoned it through. That is the interview condition.
A problem you looked up the answer to is not solved. Requeue it for three days later.
Where to practise
Pick one and stay there
LeetCode is the default because interviewers draw from it, but NeetCode's pattern lists, Codeforces and HackerRank all work. The platform matters far less than doing it daily in the language you will actually interview in.
For the AI-specific coding round — tokenisation, retrieval, streaming, evals — see Coding round · Python. That page and this one are not substitutes for each other.