AI Coding Interview Questions
AI-enabled coding interviews are a new format where you're allowed — and expected — to use an AI assistant like Cursor, Copilot, or Claude Code during the round. They look nothing like a traditional LeetCode problem: you're usually dropped into a multi-file codebase and asked to fix a bug, implement a feature, and optimize for scale, producing hundreds of lines you didn't write by hand but have to fully understand. These are real AI coding interview questions reported by candidates who went through AI-enabled rounds at companies like Meta, Shopify, and Rippling. Practicing them is how you build the skill these interviews actually test: directing the AI, catching what it gets wrong, and defending every decision — not prompting your way to an answer you can't explain. New to the format? Read our complete AI coding interview guide first.

"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."
Circular Drone Hub Delivery Route
A drone delivery network is laid out as a ring of n hubs, numbered 0, 1, ..., n - 1. Each hub is connected by a direct air corridor to its two neighbo...
Courier Delivery Cost Tracker
Courier Delivery Cost Tracker You are building the back end for a courier company's dispatch and payouts system. It tracks the deliveries that drivers...
Fix the Broken Search Filter in a Book Catalog API
Fix the Broken Search Filter in a Book Catalog API A small book-management web app lets users search a library catalog. The frontend sends the user's ...
Implement a Searchable Logger Pipeline
Design and implement an in-memory logging system. The system should support: 1. Adding handlers - A handler transforms a log message before it is s...
Maximum-Length Unique-Character Subset
Maximum-Length Unique-Character Subset You are given a list of strings. Choose a subset of them and concatenate the chosen strings; the concatenation ...
Grid Robot Command Simulator
Grid Robot Command Simulator You are building a small command-driven robot simulator. A single robot lives on a 2D grid and is controlled by a stream ...
Terminal-Controlled Grid Rover Simulator
You are building a command-line simulator for autonomous rovers moving on a rectangular grid (think of a warehouse floor or a planetary plateau). Rove...
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. ...
Implement Courier Delivery Cost Tracking
Design and implement a small in-memory cost-tracking service for food-delivery couriers. Each courier has a unique driverId and an hourlyRate. A deliv...
Compare Complete and Partial Poker Hands
Implement a simplified poker-hand comparator. You are given two poker hands. A complete hand contains exactly 5 cards. Each card has a rank and, if ne...
Find Top Errors in Time Window
Implement a function that analyzes request-response logs stored as JSON records. Each record contains a timestamp, a response status, and optionally a...
Implement Timeout Refund Workflow
You are given a skeleton workflow engine for order processing. A workflow is a directed graph of nodes. Each node receives an OrderContext and returns...
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...
Implement a Snowflake Query Client
Build a lightweight query client for a Snowflake-like data warehouse. Implement a QueryClient that can: 1. Connect to the warehouse using configuratio...
Build a Local URL Shortener
Implement a local URL shortener that runs on a single machine. Design a small library or service with two core operations: - shorten(long_url) -> shor...
Implement logger and card ranking
This coding round contains two independent implementation tasks. Task A: Implement a configurable logger Implement a Logger component that accepts tex...
Implement Game Physics and Block Mining
You are given two independent coding tasks from the same interview category. Solve both. Task A: Flappy-Bird-Style Jump Boundary Function Implement a ...
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...
Implement Article Vote Tracking
We are building an in-memory vote management service for an online news platform. Users can upvote or downvote published articles, and we want to trac...
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...