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.

104 Questions 511 Companies06.29.2026
Showing 20 results
Role
Meta logo
Meta
Medium
Software Engineer AI

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....

Coding & Algorithms
1
0
13 people solved
Mar 17, 2026
Meta logo
Meta
Medium
Software Engineer AI Locked

Solve array, tree, and maze problems

This question evaluates algorithmic problem-solving across arrays, binary trees, and grid pathfinding, testing competencies in array traversal and vis...

Coding & Algorithms
5
0
54 people solved
Mar 12, 2026
LinkedIn logo
LinkedIn
Easy
Software Engineer AI Locked

Debug Queues and Solve Arrays

This multi-part question evaluates competencies in data structures (heap invariants and in-place array manipulation), concurrent programming (designin...

Coding & Algorithms
7
0
97 people solved
Mar 10, 2026
Rippling logo
Rippling
Medium
Software EngineerSenior+ AI

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...

Coding & Algorithms
9
0
92 people solved
Mar 10, 2026
Meta logo
Meta
Medium
Software Engineer AI Locked

Solve tree, array, and maze tasks

This set of problems evaluates proficiency in algorithms and data structures, covering binary tree diameter computation, array optimization for maximu...

Coding & Algorithms
2
0
26 people solved
Oct 17, 2025
Meta logo
Meta
Medium
Machine Learning Engineer AI Locked

Maximize Unique Letters

This question evaluates proficiency in combinatorial optimization, bit manipulation, and state-compression techniques for selecting subsets under uniq...

Coding & Algorithms
2
0
35 people solved
Feb 8, 2026
Google logo
Google
Easy
Software Engineer AI Locked

Find Feature Activation Order

This question evaluates graph-algorithms and dependency-resolution skills, including reasoning about prerequisite relationships, ordering constraints,...

Coding & Algorithms
9
0
62 people solved
Jan 26, 2026
Otter.Ai logo
Otter.Ai
Easy
Software Engineer AI Locked

Validate Password Against Multiple Rules

This question evaluates string processing and input validation skills, specifically character-class checks, frequency constraints, and enforcement of ...

Coding & Algorithms
2
0
29 people solved
Jan 2, 2026
Rippling logo
Rippling
Easy
Software Engineer AI Locked

Build an Expense Policy Rule Engine

This question evaluates implementing rule-evaluation logic, data modeling for expense records and rule representations, operator semantics, and design...

Coding & Algorithms
4
0
45 people solved
Apr 17, 2025
Notion logo
Notion
Medium
Software Engineer AI Locked

Find Top Errors in Time Window

This question evaluates the ability to parse JSON logs, apply time-window filtering with inclusive/exclusive boundaries, aggregate error frequencies, ...

Coding & Algorithms
1
1
22 people solved
Jun 1, 2026
Shopify logo
Shopify
Medium
Data Scientist AI

Analyze Pirated Theme Usage Impact

An e-commerce platform lets shops install marketplace themes. Some themes are paid, and a shop should have a valid purchase/license before using a pai...

Data Manipulation (SQL/Python)
7
0
41 people solved
Apr 28, 2026
Meta logo
Meta
Medium
Machine Learning Engineer AI

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...

Coding & Algorithms
0
0
14 people solved
Apr 16, 2026
Meta logo
Meta
Hard
Software Engineer AI Locked

Implement a Timestamped Banking System

This question evaluates the ability to design and implement an in-memory, time-ordered stateful system handling event scheduling, transactional update...

Coding & Algorithms
3
0
35 people solved
Apr 8, 2026
Meta logo
Meta
Medium
Software EngineerSenior+ AI

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...

Coding & Algorithms
1
0
20 people solved
Apr 8, 2026
Datadog logo
Datadog
Medium
Software Engineer AI

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...

Coding & Algorithms
6
0
56 people solved
Apr 2, 2026
Coinbase logo
Coinbase
Hard
Software Engineer AI

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 ...

Coding & Algorithms
28
0
211 people solved
Apr 2, 2026
Shopify logo
Shopify
Medium
Machine Learning Engineer AI

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...

Coding & Algorithms
0
0
3 people solved
Apr 1, 2026
Meta logo
Meta
Medium
Software Engineer AI

Maximum Length of a Word Selection With All Unique Characters

You are given an array of lowercase strings words. Select a subset of these words (zero or more, chosen in any order) and concatenate them. The select...

Coding & Algorithms
0
0
7 people solved
Mar 6, 2026
Shopify logo
Shopify
Medium
Machine Learning Engineer AI Locked

Simulate a rover fleet

This question evaluates skills in simulation design, state management, grid-based movement logic, and handling constraints such as obstacles, boundari...

Coding & Algorithms
2
0
31 people solved
Mar 1, 2026
Meta logo
Meta
Hard
Machine Learning EngineerSenior+ AI Locked

Build a Friend Recommender

This question evaluates proficiency in graph algorithms, recommendation system logic, input validation, metric design, and test-driven software implem...

Coding & Algorithms
3
0
46 people solved
Mar 1, 2026

Frequently Asked Questions

Are AI tools allowed in coding interviews?
In an AI-enabled (AI-assisted) interview, yes — you're explicitly allowed to use an assistant like Cursor, Copilot, or Claude Code. The catch is that interviewers evaluate how well you direct and verify the AI, so accepting its output blindly is what gets candidates rejected, not using the tool.
What companies do AI-assisted interviews?
Meta rolled out AI-enabled coding interviews in late 2025, and candidates have reported similar AI-assisted formats at Shopify, Rippling, LinkedIn, Canva, and others. The list keeps growing as more teams adopt the format.
How do I prepare for an AI-assisted interview?
Practice reading unfamiliar codebases quickly, solve the problem yourself before reaching for the AI, and verify everything it generates line by line. Drill the real AI-assisted questions in this hub and read PracHub's AI coding interview guide for the full rubric.
How is an AI-assisted interview different from a normal coding interview?
Instead of one self-contained algorithm problem on a blank editor, you're dropped into a multi-file codebase and asked to fix bugs, add features, and optimize at scale with an AI assistant. The bar shifts from writing every line yourself to judging, correcting, and explaining code you produced with the AI.
How many AI-assisted interview questions are on PracHub?
PracHub has 50+ real AI-assisted interview questions spanning coding, system design, and machine learning rounds, and the set grows as new ones are reported. Most are free to read with detailed solutions.
AI Coding Interview Questions (Updated 2026) — Page 5 | PracHub