PracHub
QuestionsExperienceLearningGuidesInterview Prep
Visa Tools

Visa Tools

Visa Sponsors

Find employers with sponsorship filings

H-1B Odds Calculator

Explore your lottery selection odds

Visa Bulletin

Monthly green-card priority dates

Tech Interview Questions

Practice the exact questions companies are asking right now.

Questions
Companies
Updated
Questions Companies
Questions CompaniesUpdated
Company
Role
Category
Difficulty
Round
Seniority
Most Popular
Latest
Knowledge Hub
Showing 20 results
All
SWE
DS
MLE
PM
Popular Categories
All
SQL
Blind 75
Coding
System Design
Behavioral
ML
Analytics
ML System Design
Daily Quest

Sign in to earn XP for every problem you solve.

PracHub

Master your tech interviews with 18,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Green Card Tracker
  • Premium
  • Practice with AI agents
  • For Universities
  • Affiliate Program
  • Careers

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • Interview Experiences
  • SQL Questions
  • Blind 75
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.

Tech Interview Questions

Practice the exact questions companies are asking right now.

Questions
25.9k
Companies
1.1k
Updated
11.25.2026
25.9k Questions 1.1k Companies11.25.2026
25.9k Questions1.1k CompaniesUpdated 11.25.2026
PLTCHK testimonial
PLTCHK

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

_The_TaNk_ testimonial
_The_TaNk_

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

Chris testimonial
ChrisSenior SWE, LinkedIn

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

sleepy33 testimonial
sleepy33

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

Jake testimonial
JakeSenior ML Engineer, Lyft

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

nuggetlord testimonial
nuggetlord

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

Carlos testimonial
CarlosFull Stack, Shopify

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

boba.tea.vibes testimonial
boba.tea.vibes

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

Andy testimonial
AndySWE-II, Google

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

couchpotato99 testimonial
couchpotato99

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

Shruti testimonial
ShrutiData Engineer, Salesforce

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

midnightramen testimonial
midnightramen

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

Bianca testimonial
BiancaFrontend Eng, Figma

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

tambrahm007 testimonial
tambrahm007

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."

toa testimonial
toa

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

PLTCHK testimonial
PLTCHK

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

_The_TaNk_ testimonial
_The_TaNk_

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

Chris testimonial
ChrisSenior SWE, LinkedIn

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

sleepy33 testimonial
sleepy33

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

Jake testimonial
JakeSenior ML Engineer, Lyft

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

nuggetlord testimonial
nuggetlord

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

Carlos testimonial
CarlosFull Stack, Shopify

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

boba.tea.vibes testimonial
boba.tea.vibes

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

Andy testimonial
AndySWE-II, Google

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

couchpotato99 testimonial
couchpotato99

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

Shruti testimonial
ShrutiData Engineer, Salesforce

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

midnightramen testimonial
midnightramen

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

Bianca testimonial
BiancaFrontend Eng, Figma

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

tambrahm007 testimonial
tambrahm007

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."

toa testimonial
toa

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

Showing 20 results
PracHub logo
General
Medium
MLEMachine Learning Engineer

When would you choose gradient boosting over a random forest?

When would you choose gradient boosting over a random forest? `hint Start from bias and variance Ask which error component each ensemble mainly reduce...

Machine LearningSupervised LearningML Fundamentals
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Why is overfitting possible in an unsupervised model when there are no labels to overfit to?

Why is overfitting possible in an unsupervised model when there are no labels to overfit to? `hint What is being fit Look at what the training objecti...

Machine LearningUnsupervised LearningML Fundamentals
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

How do you diagnose whether an underperforming model is bottlenecked by data volume versus model capacity?

How do you diagnose whether an underperforming model is bottlenecked by data volume versus model capacity? `hint Two numbers, two knobs Look at traini...

Machine LearningML FundamentalsModel Evaluation
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Why is Partitioning Around Medoids (PAM) computationally more expensive per iteration than Lloyd's k-means?

Why is Partitioning Around Medoids (PAM) computationally more expensive per iteration than Lloyd's k-means? `hint Updating one center For a fixed set ...

Machine LearningUnsupervised Learning
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
MLEMachine Learning Engineer

How does the training mechanism of boosting differ fundamentally from bagging?

How does the training mechanism of boosting differ fundamentally from bagging? `hint Look at the dependency Ask whether the m-th model in each method ...

Machine LearningSupervised LearningML Fundamentals
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Should the meta-learner in stacking be trained on predicted class labels or predicted probabilities?

Should the meta-learner in stacking be trained on predicted class labels or predicted probabilities? In stacking, the outputs of several base classifi...

Machine LearningSupervised LearningML Fundamentals
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

How is the penalized form of regularization mathematically equivalent to a constrained optimization problem?

How is the penalized form of regularization mathematically equivalent to a constrained optimization problem? Use ridge or lasso as the running example...

Machine LearningML FundamentalsRegression & Statistical Modeling
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
MLEMachine Learning Engineer

Max-Norm Weight Projection

Implement max_norm_project(W, c, axis=0). Each unit's incoming weight vector is the slice of W along axis (axis=0: columns are units, axis=1: rows are...

Machine LearningML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

MAP Linear Regression With Laplace Prior

Model y = Xw + b + ε with Gaussian noise of variance noise_var and an independent Laplace prior of scale prior_scale on each weight (flat prior on b)....

Machine LearningML CodingBayesian Statistics
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Incremental Gaussian Naive Bayes with partial_fit

Complete IncrementalGaussianNB. partial_fit(X, y, classes=None) merges each batch's per-class count, mean and population variance into running statist...

Machine LearningML CodingSampling & Estimation
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Gaussian Naive Bayes Prediction with Missing Features

Given a trained Gaussian Naive Bayes model (class_log_prior of shape (K,), theta and var of shape (K, d)) and a matrix X where NaN marks a missing fea...

Machine LearningML CodingSupervised Learning
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Feature Duplication Effect on Gaussian Naive Bayes

Implement Gaussian naive Bayes from scratch in NumPy, a tie-aware ROC AUC, and a function that measures what happens to the model when one feature is ...

Machine LearningML CodingModel Evaluation
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

KNN Class Probabilities with Laplace Smoothing

Implement knn_predict_proba(X_train, y_train, X_query, k, alpha=0.0). For each query row, find its k nearest training rows by Euclidean distance and g...

Machine LearningML CodingSupervised Learning
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Hard
MLEMachine Learning Engineer

KD-Tree Exact K-Nearest-Neighbour Search

Implement KDTree(X, leaf_size=1) by recursively splitting at the median along the dimension of largest spread, stopping at nodes with at most leaf_siz...

Machine LearningTreesHeaps & Priority Queues
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Heap-Based KNN Classifier and Regressor

Implement k_nearest(train_X, query, k), returning the k nearest training points by Euclidean distance as a list of (index, distance) tuples sorted by ...

Machine LearningML CodingHeaps & Priority Queues
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Hard
MLEMachine Learning Engineer

Implement a Bayesian optimization loop with a Gaussian process and expected improvement

Implement gp_posterior, expected_improvement (for minimization) and bayes_opt, which minimizes objective over a finite candidates array. It evaluates ...

Machine LearningML CodingBayesian Statistics
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Hard
MLEMachine Learning Engineer

Implement an asynchronous successive halving (ASHA) rung coordinator for hyperparameter tuning

Implement an ASHAScheduler class and a run_asha function for asynchronous successive halving. Rung k uses resource min_resource eta*k, for every such...

Machine LearningML CodingData Structure Design
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Build a training loss monitor that detects divergence, oscillation and plateaus and recommends a learning rate

Implement monitor_training(losses, lr, window=10, divergence_factor=2.0, oscillation_threshold=0.5, plateau_tol=1e-3). Diagnose the loss history and r...

Machine LearningML CodingNeural Networks & Training
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Implement CatBoost Ordered Target Statistics Encoding

Implement ordered_target_statistics(categories, target, permutation, prior=None, prior_weight=1.0). Process rows in permutation order: each row's valu...

Machine LearningFeature EngineeringML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
MLEMachine Learning Engineer

Aggregate Feature Importance Across Boosted Trees

Implement feature_importance(trees, n_features, importance_type="gain", normalize=False). Each tree is a dict of equal-length arrays feature (int, -1 ...

Machine LearningML CodingModel Interpretability
0
0
0 people solved
Nov 25, 2026
Previous1...107210731074...1296Next
Popular Categories
SQLBlind 75
Daily Quest

Sign in to earn XP for every problem you solve.

Choose your next challenge

All learning

Blind 75

75 free coding problems to build your foundations, with hints, explanations, and a progress checklist.

Arrays · Graphs · Dynamic programming

Explore Blind 75

ML System Design

Work through the decisions behind machine learning systems, from data to serving.

Data · Models · Evaluation

Explore the course

System Design Interview

Practice reasoning about architecture, scale, and the tradeoffs that shape a system.

Architecture · Scale · Tradeoffs

Explore the course

Explore by company

All companies
  • Meta
  • Google
  • Amazon
  • Apple
  • Microsoft
  • Netflix
  • Capital One
  • TikTok
  • DoorDash
  • Uber
  • Coinbase
  • Airbnb
  • LinkedIn
  • Salesforce
  • Snapchat
  • Spotify
  • PayPal
  • Lyft
  • Pinterest
  • Anthropic
  • OpenAI
  • Databricks
  • Rippling
  • Jane Street

Explore by role

  • Data Scientist
  • Software Engineer
  • Machine Learning Engineer
  • Product Manager
  • Data Engineer
  • Data Analyst
  • Frontend Engineer
  • Backend Engineer
  • Site Reliability Engineer
  • Technical Program Manager

Explore by category

  • Blind 75
  • Coding & Algorithms
  • System Design
  • Machine Learning
  • ML System Design
  • SQL & Python
  • Analytics & Experimentation
  • Behavioral & Leadership
  • Statistics & Math
  • Product / Decision Making
  • Product Design & Strategy
  • SWE Fundamentals

Popular interview guides

  • Meta SWE
  • Meta DS
  • Meta PM
  • Google SWE
  • Google DS
  • Google MLE
  • Amazon SWE
  • Amazon DS
  • Amazon DE
  • Apple SWE
  • Apple MLE
  • Microsoft SWE
  • Microsoft DS
  • TikTok SWE
  • TikTok DS
  • Uber SWE
  • Uber DS
  • DoorDash SWE
  • DoorDash DS
  • Airbnb SWE
  • Airbnb DS
  • LinkedIn SWE
  • LinkedIn DS
  • Netflix SWE
  • Coinbase SWE
  • Capital One DS
  • OpenAI SWE
  • Anthropic SWE

Popular question categories

  • Blind 75
  • Meta Coding
  • Google System Design
  • Amazon Coding
  • Meta Analytics
  • Google ML
  • Amazon System Design
  • Capital One SQL
  • TikTok ML
  • Meta SQL
  • Uber Analytics
  • DoorDash Coding
  • Google Coding
  • Netflix System Design
  • Airbnb Analytics
  • LinkedIn SQL