Linked Lists and Design
Snap runs its coding rounds live, and the pointer problems are where a working answer separates from a sketch. Linked lists and a Premium question are the classic bank here: reverse a list, merge two sorted ones, a Premium question stored as digit lists, and build a cache that evicts the least-recently-used entry. None of it is dressed up as a Snapchat feature. It is the standard medium-tier set, and the Snap texture is the grading, not the prompt: code that compiles and runs, delivered fast, with the boundary cases handled on the first pass.
One habit carries the whole cluster. Every one of these problems is a small exercise in rewiring next pointers without losing the rest of the list. Save the next node before you overwrite the link. Lean on a sentinel node so the head and the empty case stop being special. Get the save-then-rewire reflex and the dummy-head trick automatic, and reversal, merge, and the cache all collapse into the same few lines of pointer bookkeeping.
- 4 problems, worked step by step
- about 24 min
Premium lessonSnap 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
Snap interview guideKnow what Snap asks before you walk in.
19 coding · 5 system design · 15 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.