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
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
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
General 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
General 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
General 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
General 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
General 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
General 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
General 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
General 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
General 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
General logo
General
Medium
MLEMachine Learning Engineer

Implement a Yeo-Johnson Power Transformer with Grid Search

Implement two helper functions and a column-wise transformer for the Yeo-Johnson power transform: - yeo_johnson(x, lmbda) applies the transform with a...

Machine LearningML CodingFeature Engineering
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
MLEMachine Learning Engineer

Implement a Weighted Soft-Voting Classifier

Implement SoftVotingClassifier(estimators, weights=None) over a list of (name, estimator) pairs. predict_proba returns the weighted average of member ...

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

Implement a Weighted Hard-Voting Classifier

Implement WeightedHardVotingClassifier(estimators, weights=None) with fit(X, y) and predict(X). Each fitted member casts one vote of its weight for it...

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

Confidence-Based Two-Stage Cascade Classifier

Implement cascade_predict(cheap_proba, expensive_proba, threshold, classes=None). It predicts with the cheap model when that model's max probability i...

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

Greedy ensemble selection with replacement (Caruana) to minimize validation MSE

You have validation predictions from a library of trained models, stored as an (n_members, n_samples) matrix preds, and the validation targets y. Impl...

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

Calibrated Soft Voting with Platt and Isotonic

You have positive-class probabilities from an ensemble of binary classifiers, stored as arrays shaped (members, n): one on a calibration set (cal_prob...

Machine LearningModel EvaluationML Coding
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
MLEMachine Learning Engineer

Decision Tree Root-Split Instability Experiment

Implement a Gini CART classifier (gini, best_split, fit_tree, predict_tree) and instability_experiment(X, y, X_test, resample_indices, max_depth=None)...

Machine LearningML CodingML Fundamentals
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
MLEMachine Learning Engineer

Decision Tree Depth Sweep with Leaf Rectangles

Implement three functions. fit_tree(X, y, max_depth, random_state=0) returns a fitted scikit-learn DecisionTreeClassifier. leaf_rectangles(estimator) ...

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

Extract Decision Paths and IF-THEN Rules from a scikit-learn Decision Tree

A decision tree is stored as nested dicts. An internal node has the keys feature, threshold, left and right. A leaf has only value. Implement three fu...

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

Label-Smoothed Cross-Entropy with Ignore Index

Given logits of shape (N, K) and integer targets of shape (N,), implement label_smoothed_cross_entropy(logits, targets, smoothing=0.1, ignore_index=-1...

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

Knowledge Distillation Loss and Gradient

Given student logits s and teacher logits t of shape (N, K) and integer labels of shape (N,), implement distillation_loss (returns a Python float) and...

Machine LearningML CodingNeural Networks & Training
0
0
0 people solved
Nov 25, 2026
Previous1...101510161017...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