Practice in the browser
Coding problems by company
Each company tends to favour a particular flavour of coding question. Pick a company to practise the problems that commonly appear in its interviews, solve each one in a real editor, and run it against the test cases. These are community-reported favourites, not official lists, and interview content varies by team and level.
- Google
Google coding rounds lean algorithmic and favour clean, well-reasoned solutions over raw speed. Graphs, dynamic programming, and a willingness to discuss complexity out loud go a long way.
10 problemsGraphs and traversalDynamic programming - Meta
Meta runs fast, medium-weighted rounds where finishing two problems cleanly matters. Arrays, strings, and tree or graph traversal show up constantly, and pace counts.
10 problemsArrays and hashingTrees and BFS - Amazon
Amazon pairs practical data-structure problems with its leadership-principle behavioural bar. Graph and BFS questions, stacks, and clean two-pointer work are common, and clear reasoning is rewarded.
10 problemsBFS and gridsStacks - Microsoft
Microsoft rounds tend toward the classics: linked lists, strings, and trees, with an emphasis on correctness and edge cases rather than exotic tricks.
9 problemsLinked listsTrees and BST - Apple
Apple coding rounds favour solid fundamentals and careful implementation. Expect arrays, strings, and a design-flavoured data-structure question, with attention to detail over speed.
7 problemsArrays and stringsStacks and design - Netflix
Netflix keeps its loops small and senior, so each problem carries weight. Practical algorithmic questions with a real discussion of trade-offs are the norm.
5 problemsArrays and dynamic programmingPractical algorithms - Uber
Uber leans on graphs and simulation, fitting for a logistics company, alongside the usual medium array and string problems. Clear modelling of the problem matters.
7 problemsGraphsBFS and simulation - Airbnb
Airbnb is known for grounded, applied problems, often parsing or string-heavy, sometimes wrapped in a small real-world scenario. Readable, correct code is valued.
6 problemsStrings and parsingHash maps - Stripe
Stripe is the outlier: its rounds favour practical, correctness-focused problems over textbook algorithms, often with real input parsing and careful edge-case handling rather than clever asymptotics.
7 problemsParsing and stringsCorrectness and edge cases - ByteDance
ByteDance rounds run harder and more algorithmic than most, with a real appetite for dynamic programming and graph problems at speed.
7 problemsDynamic programmingGraphs - LinkedIn
LinkedIn favours trees, graphs, and design-leaning questions, often with a follow-up that pushes on scale or an alternative data structure.
6 problemsTrees and graphsDesign follow-ups - Snap
Snap keeps its coding rounds in familiar medium territory: arrays, strings, and the occasional graph, with clean implementation expected.
5 problemsArrays and stringsSliding window