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."
Explain how to make robust HTTP API calls
This question evaluates understanding of robust HTTP API integration, covering reliability and resilience topics such as timeouts, retries and backoff...
Design a scalable search service with sharding
This question evaluates understanding of search system architecture, including indexing, querying, and sharding strategies, and measures competency in...
Count business days excluding holidays
This question evaluates proficiency in date and calendar arithmetic, handling set-based exclusions (holiday lists), and reasoning about algorithmic ef...
Explain normal distribution and standardize it
This question evaluates understanding of the Gaussian (normal) distribution and the concept of standardization, assessing competencies in probability ...
Maximize the minimum value along a grid path
This question evaluates a candidate's competence in graph traversal and path-optimization concepts, emphasizing reasoning about path scores and handli...
Compute distance-sum from every tree node
This question evaluates understanding of tree and graph algorithms, including computation of pairwise distances and techniques for aggregating path le...
Find path between nodes in Fibonacci tree
This question evaluates understanding of recursive tree structures, preorder indexing, implicit tree representations, algorithmic reasoning about node...
Return sorted values after quadratic transform
This question evaluates understanding of mathematical transformations and array manipulation, specifically how applying a quadratic function affects t...
Implement cursor-based query pagination
You are building a small in-memory database that stores rows with the following fields: - id (string, unique) - score (integer) - payload (string) You...
Design an autocomplete suggestions API
This question evaluates understanding of string-oriented data structures (e.g., prefix trees/tries), ranked retrieval and dynamic updates, testing ski...
Find longest run of identical consecutive shows
This question evaluates array-manipulation skills and the ability to identify contiguous runs of equal values, emphasizing algorithmic efficiency and ...
Maximize sum with no adjacent tree nodes
This question evaluates understanding of tree-based dynamic programming and stateful optimization for selecting non-adjacent nodes, testing algorithmi...
Find a split-stay booking across listings
This question evaluates understanding of interval coverage and algorithmic problem solving, specifically reasoning about continuous date ranges, split...
Implement a traffic-light UI with JS
Frontend Coding: Traffic Light Build a simple traffic light component using HTML + CSS + JavaScript. Requirements - Render a vertical traffic light wi...
Reflect on self, goals, learning, competitions
Prepare structured behavioral answers for these interview questions: 1. Give three words that accurately describe you as a professional, and illustrat...
Increment Digit Array
This question evaluates a candidate's competency in array manipulation and elementary arithmetic on digit sequences, including carry propagation and h...
Find multi-account buckets and unread rate
You are analyzing a product in which one user can own multiple accounts. Use the following schema: Table: accounts - account_id BIGINT - user_id BIGIN...
Return the k-th row of Pascal-like triangle
This question evaluates combinatorics, array manipulation, and space-efficient algorithm design by requiring computation of a specific row of Pascal’s...
Count Numbers With Odd Zeros
Given an array a of non-negative integers, count how many elements contain an odd number of digit '0' in their decimal representation. Notes: - Treat ...
Implement composition and mixin utilities
This question evaluates functional programming concepts (function composition and variable-argument handling) and object-oriented serialization patter...