THE PRACTICE FILESNO. 001 / LEETHELPER
From “why?”
to “oh, I see.”
A little room for a breakthrough.
01 — TWO SUM / HASH MAPTARGET: 9
seen: { 2 → 0 }value → index9 − 7 = 2already in the map!
return [0, 1]O(n) time · O(n) space
The code is only half the story. Explore community solutions, work through the why, and leave a note for your future self — right inside LeetCode.
SolutionsAI explanationsYour notes
Download for Chrome FOR CHROME
Ready-to-load ZIP · Installation steps ↗
Your own Claude or OpenAI key for AI features.
A peek inside
View full size