AI Coding Interview Questions
AI-assisted interviews are a fast-growing format where you're allowed — and expected — to use an AI assistant like Cursor, Copilot, or Claude Code during the round, then defend every line it writes. This hub gathers every real, recently reported AI-assisted interview question on PracHub in one place: codebase coding problems, AI-era system design, and machine learning rounds, reported by candidates who interviewed at companies like Meta, Shopify, and Rippling. They look nothing like a traditional LeetCode problem — you're usually dropped into a multi-file repo and asked to fix a bug, ship a feature, and optimize for scale, producing far more code than you'd write by hand. Practicing them builds the skill these rounds 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? Start with our complete AI coding interview guide.

"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."
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...
Design a bus simulation metric
In an AI-assisted interview, you are given an unfamiliar codebase of roughly 10,000 lines that implements a bus traffic simulation. You may use an app...
Implement a balance tracker and interval merger
This screening contained two coding exercises. Part 1: Driver balance tracker You are building an in-memory ledger for a delivery platform. Each updat...
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...
ML System Design: Movie Recommendation Model and Pipeline (AI-Assisted Round)
ML System Design: Movie Recommendation Model and Pipeline (AI-Assisted Round) This is a hands-on, AI-assisted coding round: you are allowed to use AI ...
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 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...
Calculate Circular Route Query Distance
You are given a circular route with n stops numbered 0 to n - 1. The array distances has length n, where distances[i] is the clockwise distance from s...
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 ...
Implement URL Shortening Codec
Implement a small in-memory URL-shortening component in a pair-programming interview. Expose two methods: shorten(long_url: str) -> str, which returns...
Implement a Word Guessing Game
Implement a four-letter word guessing game. You are given: - A dictionary containing valid four-letter English words. - A target word selected from th...
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...
Simulate a rover fleet
Implement a simulator for autonomous rovers moving on a rectangular grid. You are given: - The grid size width x height - A set of blocked cells repre...
Extend a Maze Solver
You are given an existing codebase for a maze game and solver. The maze is represented as a 2D grid containing: - S: start cell - T: target cell - .: ...
How would you scale rule evaluation?
You have an expense-policy rule engine that must scale to around 1,000,000 active rules and evaluate batches of about 1,000 expense records efficientl...
Design a Driver Payroll System
Design an in-memory payroll system for a food delivery company. Each driver has a unique driver_id and a fixed hourly_rate set when the driver is regi...
Solve array, tree, and maze problems
The onsite interview included the following algorithmic tasks: 1. Building visibility from the right: Given an integer array heights, where heights[i]...
Build a Flexible Expense Rules Engine
You are building a rules engine for a corporate credit card product. Employees use company cards for business expenses, and managers define policies t...
Build an Expense Policy Rule Engine
Implement a simplified expense-policy rule engine. An expense record contains: - amount: number - category: string - merchant: string - country: strin...