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."
Predicting the Next Elevator Call Location
This machine learning question tests the ability to design a predictive model for spatio-temporal demand forecasting, covering problem framing, featur...
Design a Distributed Logging System
This question evaluates a candidate's ability to architect a large-scale distributed logging system, testing competency in data ingestion pipelines, f...
Explain Logistic Regression, Backprop, and Adam
Walk through the mathematical foundations that connect logistic regression to modern deep-learning training. The interviewer expects you to write the ...
Answer conceptual true/false and caching questions
This question evaluates understanding of integer representation, caching eviction policies and trade-offs (LFU vs LRU) including communication of anal...
Design a Crash-Resilient LRU Cache
You have an in-memory LRU cache with fixed capacity $N$ and the standard get(key) / put(key, value) operations, both $O(1)$ (a hash map plus a doubly ...
Bar Raiser: Architecture Depth, Technical Influence & Ownership
Bar Raiser: Architecture Depth, Technical Influence & Ownership This is a senior-level Bar Raiser interview that blends behavioral signal with archite...
Scale a rules engine for high traffic
This question evaluates understanding of scalable real-time system design, distributed architectures, consistency versus latency trade-offs, caching a...
Design a Distributed Crossword Solver
This question evaluates competency in distributed systems design, algorithmic search and constraint satisfaction (e.g., DFS with constraint propagatio...
Implement Masked Multi-Head Self-Attention
This question evaluates implementation and conceptual understanding of masked multi-head self-attention, covering scaled dot-product attention, separa...
Design an AI Gateway
This question evaluates system design competencies for a multi-tenant AI gateway, including architectural design, unified API and authentication patte...
Design a File Backup System
Design a scalable file backup system. You are given access to basic file-system primitives such as listing directories, reading file metadata, reading...
Design payment fraud detection
Design a machine learning system for fraud detection in an online payment platform. The system should score transactions before or shortly after autho...
Design An AI Playground For Very Large Prompts
Design an AI playground that lets users create, edit, run, and revisit prompts. The interviewer is especially interested in how the system handles ver...
Debug and Extend Cursor Queries
You are in an AI-assisted coding interview. You may consult AI-generated suggestions, but you are expected to validate them, explain your reasoning ou...
Implement an Integer Spreadsheet with Formulas
Implement an in-memory integer spreadsheet with literals, additive formulas, nested references, replacement updates, and zero-valued unset cells. Each...
Design a Donation Platform
Question Design an online donation platform that lets users discover and contribute to charity campaigns or nonprofit organizations. Payment execution...
Design a Hierarchical File System
This question evaluates understanding of scalable distributed storage and namespace architecture, covering metadata versus data separation, inode-like...
Design an Instagram-Style Social Feed
A Meta software-engineer onsite system-design question: design an Instagram-style social feed (photo/video sharing with a personalized home feed). It ...
Design fulfillment truck routing and inventory system
Scenario You are designing the software platform for a large e-commerce fulfillment network that plans truck routes and manages container/inventory mo...
Return Binary Search Tree Values in Ascending Order
Return Serialized BST Values in Ascending Order Implement ascendingBstValues(levelOrder) -> values. levelOrder is a JSON-compatible array containing s...