Meta AI Coding Interview Questions
Practice the exact questions companies are asking right now.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Solve Two Backtracking Array Problems
You will solve two independent coding problems. For each problem, first discuss edge cases, then implement a correct solution, and finally explain how...
Solve Parser, Trading, Tree, And Deck Tasks
You will solve several independent programming tasks. For each task, implement clean, tested code and state the time and space complexity. 1. Validate...
Infer an Unknown Alphabet Order
You are given a list of words that is already sorted according to an unknown alphabet. Derive one valid ordering of the characters in that alphabet. R...
Solve a Key-Door Corridor Maze
AI-assisted coding round. You may use an AI coding assistant, but you are responsible for debugging the implementation and validating the test cases. ...
Extend a Maze Solver
You are given an existing grid-based maze solver with bugs and several requested feature extensions. The maze uses the following symbols: - S: start -...
Implement Sparse Matrix Operations
Implement core sparse linear-algebra utilities for interview-style ML code. Tasks: 1. Compute the dot product of two sparse vectors efficiently. 2. Im...
Build a FastAPI summarization service
Implement a minimal but production-ready FastAPI service for text summarization. Requirements: - Expose an endpoint POST /summarize. - The request bod...
Find Maximum Unique-Character Subset
Given a list of words, choose a subset such that no character appears more than once across the entire chosen subset. Return one optimal subset, not j...
Implement an Expiring Record Store
Implement a level-based in-memory record store. The store contains records identified by a string key. Each record contains fields, where each field i...
Extend a Maze Solver
You are given an existing Python maze solver and a suite of unit tests. The maze is a 2D grid that uses # for walls, . for open cells, S for the start...
Maximize Unique Characters from Words
You are given a list of lowercase English words. Select a subset of the words such that no character appears more than once across all selected words....
Solve Maze and Suffix Problems
Solve the following two coding problems. Problem A: Find the shortest path through a maze with keys and doors You are given a 2D grid representing a m...
Solve Three Coding Interview Problems
The interview included three coding tasks: 1. Common ancestor in an N-ary tree You are given the root of an N-ary tree and two target nodes. Dete...
Find a String Containing Another
Given a list of strings, determine whether any string in the list contains another string from the same list as a contiguous substring. Return one str...
Solve Matrix, Tree, Nested, LCA, Maze Tasks
Answer the following independent coding tasks. For each task, implement a clean API, handle edge cases, and analyze time and space complexity. 1. Trav...
Solve coding and AI-assisted tasks
This interview included several algorithm problems across a phone screen, onsite coding, and an AI-assisted coding round. Solve the following tasks: 1...
Build Friend Recommendations
You are given a social graph and a User class that stores a user id and the set of direct friends for each user. Complete a recommendation module with...
Maximize Unique Letters
Given a list of lowercase words, choose any subset of words such that: - no selected word contains a repeated character internally, and - no character...
Build a Friend Recommender
You are given a simple social-graph codebase where each user has only an id and a collection of current friends. Starting from existing functions and ...
Solve tree, array, and maze tasks
You are given a set of algorithmic problems from a software engineering onsite. 1. Tree path length: Given the root of a binary tree, return the numbe...