InterviewLegend

Arrays, Hashing, and Iterators

Alex Chen30 min readUpdated 94 real interview reports

Coinbase leans on applied, build-a-system rounds, but a lighter algorithmic tier still rides alongside them. The opening question of the screen is usually a warmup, and the pair-programming round often starts with a small reusable component before it escalates. The questions that show up here cluster around two tools: a hash map for constant-time lookup, and an iterator that pulls from several sources one element at a time. Neither is about a clever trick. Both are about a clean abstraction that an interviewer can read and extend.

Both patterns trade a scan for a lookup. A hash map turns "scan everything to find the match" into "ask the map once". An iterator turns "merge the lists up front" into "hand back the next element when asked, and keep just enough state to find the one after it". A design-a-structure problem combines the two: a map for the key, an ordering for the history. The three patterns below carry almost every warmup and component round Coinbase asks, and each runnable problem is one engineers see in a Coinbase loop.

What's inside
  • 3 problems, worked step by step
  • about 30 min

Premium lessonCoinbase interview guide

These took digging.

What candidates walked out with, from 20,000+ reports, forum threads behind logins and write-ups in Chinese. Then solved step by step.

100 companies. Checked every month.

Unlock all 100 companies

$49 a year · less than $1 a week · Cancel anytime

Had your Coinbase interview?Tell us what they asked. Reviewed before it goes in, never with your name.
Coinbase interview guide

Know what Coinbase asks before you walk in.

13 coding · 4 system design · 37 behavioral questions

Get Premium$49 a year · Cancel anytime
Or start freeNo card.

Get their questions first.

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.