← All companies

Previous year questions

Meta (Facebook)

Previous-year DSA questions with explanations. Curated from reported interview rounds β€” 75 questions with the prompt, the intended approach, explanation steps and a full solution.

75 questions75 with solution code8 topic areas
Product-based

75 questions β€” the complete bank, grouped by topic area.

Trees15

Arrays10

Strings8

Stacks7

Graphs6

Dynamic Programming5

Backtracking5

Queues3

General16

Recommended resourcesAffiliate links Β· may earn us a commission

Recommended for learners

Classic DSA interview booksThe reference books interviewers themselves learned from β€” great next to the visualizers.See the books Structured coding coursesVideo courses that pair well with visual practice β€” pick one language and go deep.Browse courses Cloud hosting for side projectsShip the portfolio project that gets you hired β€” free credits for new accounts.Claim credits