Machine Learning Engineer + Data Scientist + Software Engineer 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."
Design a basic task management system
Design a Simple Task Management Service Requirements Design a simple task management system that supports: 1. Add a new task with a unique ID and desc...
Demonstrate decision-making and collaboration behaviors
Behavioral & Leadership (Technical Screen) — CARL Format You are interviewing for a Software Engineer technical screen. Answer each prompt using the C...
Design a violation log analyzer
You are given an append-only list of violation events as tuples (id: string, policy: string, date: ISO-8601 string). Build an in-memory "Violation Log...
Design a scalable calendar system
System Design: Multi-Tenant Calendar at Massive Scale You are designing a multi-tenant calendar platform used by hundreds of millions of users across ...
Design an image upload/download service
System Design: Image Upload and Download Service Context Design a production-grade image service used by web and mobile clients. The service must supp...
Group words into anagram lists
Given an array of strings, group the words into lists of anagrams and return the collection of groups in any order. For example, ["abc", "cab", "edf"]...
Implement Bootstrap-like responsive utility classes
Build a Bootstrap-like Utility System and Accessible Responsive Form (No External CSS) Context You are asked to create a minimal, reusable CSS utility...
Introduce yourself and show mission alignment
Behavioral & Leadership: Self-Intro and API/Collaboration Scenarios Context You are interviewing for an ML Engineer role at a consumer fintech startup...
Design a bank system with transfers
Single-Process BankSystem: APIs, Data Model, Algorithms, and Edge Cases Context and Assumptions You are asked to design and implement a single-process...
Simulate fixed-shape tiling on a grid
You are given an empty n-by-m grid and a list of tile patterns, patterns[0..k-1]. Each pattern is a binary matrix (1 = filled cell, 0 = hole) and must...
Count palindrome substrings in a string
Given a lowercase ASCII string s, count the number of substrings that are palindromes and return the count. Implement an O(n^ 2) solution using expand...
Solve grid path and top‑k frequency
Part A — Grid Reachability with Obstacles: Given an m×n matrix of 0s and 1s where 0 indicates a passable cell and 1 indicates a blocked cell, starting...
Compute vertical order of a BST
Compute the vertical order traversal of a binary search tree. Define coordinates so the root is at column 0, row 0; the left child is (col−1, row+ 1) ...
Demonstrate leadership and ensure data compliance
Behavioral & Leadership: Leading Through Reorg While Shipping ML + Ensuring Data Compliance Context You are the ML lead during a reorganization that r...
Design a personalized recommendation system
System Design: Personalized Recommendations for a Consumer App Context Assume you are building the home-feed recommendations for a large consumer app ...
Simulate views on an n-ary tree
Given a rooted, ordered n-ary tree (each node has a value and an ordered list of children), simulate an observer who starts at the bottom-left, moves ...
Migrate a monolithic wallet to microservices
System Design: Migrating a Monolithic Digital Wallet (Apple Cash–like) to Microservices Context You operate a high-scale consumer digital wallet and p...
Discuss Projects and Planning Improvements
Behavioral: End-to-End Project Leadership and Cross-Quarter Initiative Provide a structured walkthrough that demonstrates ownership, product understan...
Justify choosing JavaScript for interviews
If given a choice of language, why would you choose JavaScript for front-end interview coding? Compare trade-offs versus TypeScript or Python regardin...
Set up a Python interview environment
You can use AI coding tools. Prepare a clean laptop for a Python-based onsite and explain your steps: ( 1) Install pyenv and set up a project-specific...