Skip to main content

Practice in the browser

Meta coding interview problems

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.

Commonly emphasisedArrays and hashingTrees and BFSTwo pointers

These problems commonly appear in Meta coding interviews based on widely shared public reports. They are not an official list and not leaked questions, and interview content varies by team and level. Use the set to focus your practice on the patterns Meta tends to favour, then solve each one in the live editor.

Frequently asked questions

Are these the exact questions Meta asks?
No. These are problems that commonly appear in Meta coding interviews as reported across public community sources, chosen to match the patterns Meta tends to favour. Interview content varies by team, role, and time, so treat this as a focused practice set rather than a question leak.
How should I practise these?
Open each problem, attempt it cold for twenty to thirty minutes, and run it against the test cases. If you get stuck, work out the optimal approach, then close the editor and re-solve from scratch the next day. Being able to reproduce a solution unaided is what carries into the interview.
Which language should I use?
Use the language you will interview in. The editor runs JavaScript, TypeScript, and Python in your browser, and Java, C, and C++ in a sandbox, so you can rehearse in your real stack.

Keep going