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

Debug ML pipeline and build text parser
You are in a hands-on, hour-long ML-engineering working session (Scale AI, Machine Learning Engineer loop). You are given a small ML project — data lo...
Model Product Ranking
You are building a machine learning model for product ranking in an e-commerce marketplace. Given a user, context, and a set of candidate products, ra...
Implement a Referral Network
Implement a referral network in three parts. You are building an in-memory model of a directed referral graph. An edge A -> B means user A referred us...
Determine Whether a Word Exists in a Graph
You are given a graph as a list of node objects. Each node contains a character and a list of neighboring nodes that can be visited next. Design and i...
Implement a hierarchical file store
Implement a simplified in-memory file store. The store uses absolute Unix-style paths such as /, /docs, and /docs/readme.txt. A path component contain...
Build a model using only pandas/numpy
You are given a tabular dataset as a pandas DataFrame df with: - Feature columns (numeric and/or categorical) - A target column y (either binary class...
Implement retrieval and evaluation for a simple RAG
Task You are given a small “toy RAG” notebook setup with helper utilities. You have a corpus of text passages stored in a pandas DataFrame docs_df wit...
Implement simplified Excel with SET/GET/SUM
Implement a simplified in-memory spreadsheet that supports three operations: SET, GET, and SUM, similar to basic Excel functionality. Assumptions and ...
Answer Google Behavioral Questions
Question In a behavioral interview for a Data Scientist role at Google, how would you answer the following questions? A strong answer should be specif...
Implement lossless dictionary encoding and decoding
Dictionary encoding is a lossless compression technique for a list of tokens. You are given an input string consisting of words separated by commas, e...
Design a high-concurrency LLM inference service
You are designing an LLM inference platform that serves interactive user requests (chat/completions) on GPUs. Goals - Support high concurrency with pr...
Count subarrays with sum equals k
Given an integer array nums (may contain negative numbers and zeros) and an integer k, return the number of contiguous subarrays whose sum is exactly ...
Determine balanced k values in a permutation
You are given a permutation p of the integers 1..n. For a number k (where 1 <= k <= n), call k balanced if there exists a contiguous subarray p[l..r] ...
Estimate weather’s effect on mental health
Scenario You are studying whether weather (e.g., temperature, precipitation, sunlight, air pressure) affects mental health outcomes (e.g., depression ...
How would you critique this regression?
Question You are reviewing a modeling workflow built by another data scientist and asked to critique it. Business context A website receives traffic f...

Design CSV upload endpoint with GPT classification
You are building a backend service that needs to process two CSV files and then call an external GPT-like API for classification. Requirements 1. HTTP...
Merge Multiple Sorted Arrays
You are given n sorted arrays of integers. Merge all arrays into one sorted array and return it. Requirements: - Preserve duplicate values. - Handle e...
Design a crypto trading web frontend
Design the front-end architecture for a retail cryptocurrency trading web app (like a spot exchange). Assume the product needs these core screens and ...
Implement CLIP Contrastive Loss
Given a minibatch of paired image and text embeddings, implement the symmetric contrastive loss used in CLIP-style image-text representation learning....
Model Direct-Sold DSP Orders
Design a data model for tracking a direct-sold demand order in a demand-side advertising platform. Context: - The platform manages advertiser demand a...