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

Implement Expected Improvement with exploration and numerical stability

Implement expected_improvement(mu, sigma, best, xi=0.01, maximize=True), which returns a float array of Expected Improvement (EI) values for the Gauss...

Machine LearningML CodingProbability
0
0
0 people solved
Nov 24, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Early Stopping with Best Checkpoint Restore

Implement EarlyStopping(patience=5, min_delta=0.0, mode="min"). Each step(value, params) records a validation value and a dict of NumPy arrays and ret...

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

Dynamic Loss Scaler for Mixed Precision

Implement scale_loss, unscale and step on DynamicLossScaler. step(params, scaled_grads, lr) unscales gradients, applies plain SGD if all are finite, a...

Machine LearningNeural Networks & TrainingML Coding
0
0
0 people solved
Nov 24, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Implement a damped multivariate Newton step with minimum-eigenvalue and condition-number control

Implement newton_step(params, grad, hessian, min_eig=1e-6, max_cond=1e8) returning (new_params, damping). Symmetrise the Hessian as H = 0.5 * (hessian...

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

Cosine Annealing With Warm Restarts

Implement SGDR-style cosine annealing. Cycle i has length t0 t_multi, and within a cycle the rate is min_lr + 0.5 (base_lr - min_lr) (1 + cos(pi t...

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

Backtracking Line Search with Armijo Condition

Implement backtracking_line_search, which returns a step size satisfying the Armijo condition f(x + α·d) <= f(x) + c·α·(g·d). Start at alpha0 and mult...

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

AdamW With Decay and No-Decay Parameter Groups

Implement make_param_groups(params, lr, weight_decay, no_decay_lr=None), which splits a dict of named NumPy arrays into a decay group and a no-decay g...

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

Adam Optimizer With Bias Correction

Implement Adam.step(params, grads), which applies one Adam update and returns the new parameters as a NumPy array. The optimizer is constructed as Ada...

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

AdaGrad Optimizer With Per-Coordinate Step Sizes

Implement an AdaGrad optimizer in Python with NumPy. The class is constructed as AdaGrad(lr=0.1, eps=1e-8, initial_accumulator=0.0) and has two method...

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

Compute the XGBoost Optimal Leaf Weight and Split Gain from Gradients and Hessians

Given per-sample gradients grad and hessians hess, implement leaf_weight, which returns the optimal leaf weight $$ w^* = -\frac{G}{H + \lambda} $$ whe...

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

Verify Monotonic Constraint on Boosted Ensemble

A gradient-boosted regression ensemble is stored as a list of trees. Implement ensemble_predict, which returns base_score + learning_rate * Σ leaf_val...

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

Vectorised Gradient Boosted Ensemble Inference

A trained gradient-boosted ensemble is stored as a list of trees. Each tree is a dict of equal-length node arrays left, right, feature, threshold, val...

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

Stochastic Gradient Boosting with Row and Column Subsampling

Implement fit, predict and staged_predict for a StochasticGradientBoostingRegressor that uses squared loss. Start from the constant prediction init_ =...

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

Gradient Boosting: Sparsity-Aware Split Finding with a Default Direction for Missing Values

Implement three functions for split finding in a gradient-boosted tree whose features can be missing (NaN). split_gain returns the regularized second-...

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

Scale Pos Weight vs Balanced Class Weights in Gradient Boosting

Implement compare_imbalance_weighting(X_train, y_train, X_eval, y_eval, max_iter=50, random_state=0) for binary labels. Fit two HistGradientBoostingCl...

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

Quantile Histogram Pre-Binning with Missing Bin

Implement fit_bin_edges(X, max_bin=255), returning one sorted float64 threshold array per feature, and apply_bins(X, bin_edges, max_bin=255), returnin...

Machine LearningML CodingFeature Engineering
0
0
0 people solved
Nov 24, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Quantile Gradient Boosting with Pinball Loss

Implement the pinball-loss helpers and QuantileGradientBoosting, a from-scratch booster that predicts the conditional alpha-quantile. Each round fits ...

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

Implement Vectorized Prediction for Oblivious Decision Tree Ensembles

An oblivious tree of depth D applies the same split (features[d], thresholds[d]) to every node at level d. CatBoost builds its trees this way. Impleme...

Machine LearningML CodingBit Manipulation
0
0
0 people solved
Nov 24, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Implement Binary Log-Loss Gradient Boosting with Newton Leaf Values

Complete NewtonLogLossBoosting, a binary classifier trained by gradient boosting under log loss. The model works in log-odds space. Each stage fits a ...

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

Implement a Multiclass Softmax Gradient Boosting Step

Implement one iteration of multiclass gradient boosting under multinomial log-loss. The model keeps a raw score for every sample and class, turns the ...

Machine LearningML CodingSupervised Learning
0
0
0 people solved
Nov 24, 2026
Previous1...118311841185...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