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

How does scikit-learn's HistGradientBoostingClassifier differ from the classic GradientBoostingClassifier?

How does scikit-learn's HistGradientBoostingClassifier differ from the classic GradientBoostingClassifier? `hint Follow the split search Ask what each...

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

What does a learning curve look like when a model suffers from high bias?

What does a learning curve look like when a model suffers from high bias? Take the learning curve to be training and validation error plotted against ...

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

Which cross-validation strategy is best suited for assessing models trained on datasets with fewer than 100 samples?

Which cross-validation strategy is best suited for assessing models trained on datasets with fewer than 100 samples? `hint Count the test set Work out...

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

Why are flat minima thought to generalize better than sharp minima?

Why are flat minima thought to generalize better than sharp minima? `hint Shift the surface Think of the test loss surface as the training surface mov...

Machine LearningNeural Networks & TrainingML Fundamentals
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
MLEMachine Learning Engineer

How does an ill-conditioned Hessian cause gradient descent to zig-zag?

How does an ill-conditioned Hessian cause gradient descent to zig-zag? `hint Use the quadratic model Near a minimum the loss is roughly $\tfrac{1}{2} ...

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

What is the fundamental difference between a first-order and a second-order optimization method?

What is the fundamental difference between a first-order and a second-order optimization method? `hint Think about the local model Each method builds ...

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

How do class weights change the impurity calculation at a node under class imbalance?

How do class weights change the impurity calculation at a node under class imbalance? Assume a classification tree that picks splits by Gini impurity ...

Machine LearningSupervised Learning
0
0
0 people solved
Nov 25, 2026
General logo
General
Hard
MLEMachine Learning Engineer

Random Fourier Features With Pegasos SVM

Implement an exact RBF kernel, a RandomFourierFeatures map whose inner products approximate it, and a bias-free linear SVM trained with Pegasos on the...

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

Platt Scaling for SVM Probabilities

Given SVM decision values f and labels y in {-1, +1}, implement Platt scaling: P(y=+1 | f) = 1 / (1 + exp(A·f + B)). Fit A and B by minimizing the sum...

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

Pegasos Solver for Linear SVM

Implement the Pegasos stochastic subgradient solver for a bias-free linear SVM with labels in {-1, +1}. Write the primal objective, a single update st...

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

Build a reproducible parallel random forest with flattened vectorized inference

Implement three functions for a bagged forest of scikit-learn DecisionTreeClassifier trees. fit_forest(X, y, n_trees, seed, max_features="sqrt", max_d...

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

Implement a random patches bagging regressor over row and feature subsets

Implement RandomPatchesRegressor, a bagging meta-regressor. Each of its n_estimators learners is a fresh clone of base_estimator, fit on a subset of t...

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

Build a random forest classifier on top of scikit-learn decision trees

Implement a random forest classifier in Python that uses scikit-learn's DecisionTreeClassifier as its base tree, along with three helper functions. fi...

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

McNemar and Paired Permutation Tests for Comparing Two Classifiers

Given 1-D arrays y_true, pred_a and pred_b (any hashable labels), implement contingency_table, mcnemar_test and paired_permutation_test to compare two...

Machine LearningModel EvaluationHypothesis Testing
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
MLEMachine Learning Engineer

Paired Bootstrap Confidence Interval for a Metric Delta

Implement paired_bootstrap_delta(y_true, pred_baseline, pred_candidate, metric, rng, n_boot=1000, alpha=0.05). It estimates a percentile confidence in...

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

NDCG at K for a Single Query

Implement ndcg_at_k(y_true_relevance, y_pred_scores, k), which returns NDCG@k as a Python float for one query. Rank items by descending y_pred_scores....

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

Downsample and Upweight the Majority Class

Implement downsample_and_upweight(X, y, factor, seed). Randomly keep max(1, floor(n_maj / factor)) rows of the majority class, keep all rows of the ot...

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

Class-Balanced Weights via Effective Number

Implement three functions for class-balanced loss weights. - effective_number(counts, beta) returns the effective number of samples for each class, $E...

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

Gradient Accumulation Over K Micro-Batches

Implement accumulate_and_step(params, grad_fn, micro_batches, accum_steps, lr). Run one pass of SGD over micro_batches (a list of (X, y) pairs), group...

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

Feature Scaling and Gradient Descent Convergence

Implement four functions that train a no-intercept least-squares model with batch gradient descent on raw and on standardized features. For each versi...

Machine LearningML CodingML Fundamentals
0
0
0 people solved
Nov 25, 2026
Previous1...105810591060...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