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.
SnapPremium lesson · Coding round
The 4 Snap problems are below.
- A Premium questionCoding · Medium
- A Premium questionCoding · Easy
- A Premium questionCoding · Easy
+ 1 more in this lesson
Each with hints, the follow-up and a tested solution.
Get the Snap questions$49 a year · all 100 companies · cancel anytime
From 20,000+ candidate reports, forum threads behind logins and write-ups in Chinese.
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.