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 URL shortening service
This question evaluates a candidate's ability to design scalable, highly available backend services, testing competencies in API design, data modeling...
Contrast CNNs and fully connected networks
Compare convolutional neural networks (CNNs) with fully connected (dense) networks. Explain: - The structural differences between convolutional layers...
Describe resolving conflict by persuading others
Describe a time you had a significant work-related conflict or disagreement with a teammate, stakeholder, or manager where you believed your approach ...
Find kth largest element in array
Question Given an unsorted array of integers nums and an integer k, return the k-th largest element in the array. The 1st largest element is the maxim...
Describe experience performing code reviews
During the interview, you are asked: > Have you ever done any code reviews? If yes, the interviewer may follow up with questions about how you review ...
Present a recent project effectively
In a behavioral interview, the interviewer asks: > Introduce a recent project you worked on. How should you structure your answer to clearly explain t...
Improve chip performance without process advances
Assume you are working on a digital chip, but the semiconductor process node and basic device technology are fixed: there is no new, faster process an...

Compute party time blocks per neighborhood
You are given two datasets: 1. Parties: - party_id (string or integer) - start_timestamp (e.g., UNIX timestamp or datetime) - end_timestamp (...
Improve robustness of graph cycle detection code
You have written code to detect cycles in a directed dependency graph of services, where nodes represent services and edges represent dependencies bet...
Describe an ambiguous project you handled
Describe a time when you worked on a project with a lot of ambiguity (unclear requirements, unknown constraints, or shifting priorities). Explain: - W...
Describe a failed project and lessons learned
Describe a project you worked on that ultimately failed or did not meet its goals. Explain: - What the project was trying to achieve and your role. - ...
Design an online coding platform
Design an online coding practice and interview platform (similar to well-known coding challenge sites). The platform should allow: - Users to sign up,...
Compute cart total with best promotion
Assume you are implementing a checkout price calculator for an online shopping cart. You are given: - A list of items in the cart. Each item has: - ...
Design crypto trading order control API
You are implementing part of a simple crypto trading system that manages client orders. Each order can be in one of several states: NEW, ACTIVE, PAUSE...

Find LCA in a N-ary tree via DFS
You are given the root of a rooted N-ary tree (each node can have zero or more children) and two distinct nodes p and q that belong to the tree. Desig...
Reflect on learnings from prior co-op experience
Reflecting on your previous co-op or internship experience: 1. What are the most important things you learned about communication in a software team? ...
Design a Coding Contest Platform
Design an online coding contest platform that supports programming competitions, code submission, automated judging, and live leaderboards. The platfo...
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....
Implement Plus One
This question evaluates proficiency in array manipulation, elementary arithmetic operations such as carry propagation, and careful handling of edge ca...
How do you resolve stakeholder conflict?
For a Staff Data Scientist role, describe how you work with cross-functional partners such as product managers, engineers, and business leaders. Give ...