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
Hard
MLEMachine Learning Engineer

Complement Naive Bayes From Scratch

Implement build_count_matrix(docs, vocabulary) and the ComplementNaiveBayes class (alpha=1.0, norm=False) for non-negative count features. Parameters ...

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

Categorical Naive Bayes with Unseen-Value Fallback

Implement CategoricalNaiveBayes for integer-coded categorical features. fit(X, y) learns class priors and Lidstone-smoothed per-feature tables and ret...

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

Hamming and Jaccard Distance KNN

Implement five functions for k-nearest-neighbor classification with two distances: - hamming_distance(a, b) and jaccard_distance(a, b) for two 1-D vec...

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

Gower Distance for Mixed-Type Features

Implement gower_distances(X, feature_types, Y=None, weights=None) returning the (n, m) Gower distance matrix between rows of X and rows of Y (Y defaul...

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

Feature-Weighted Euclidean KNN Classifier

Implement k-nearest-neighbor classification with a diagonal weighted Euclidean distance $$d(x, y) = \sqrt{\sum_j w_j (x_j - y_j)^2}$$ This is equivale...

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

Implement a streaming L2-regularised SGD regressor with Welford running standardisation

Implement OnlineSGDRegressor(n_features, lr=0.01, l2=0.0, eps=1e-8), a linear regressor trained one sample at a time. It maintains running per-feature...

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

Gradient descent step-size stability on a quadratic: eigenvalues, the 2/L bound and convergence regimes

Consider the quadratic objective $$f(x) = \frac{1}{2} x^\top A x - b^\top x$$ with Hessian $H = (A + A^\top)/2$ and gradient $Hx - b$. Implement the s...

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

Implement a stateful learning-rate scheduler with step and exponential decay

Implement LRScheduler(base_lr, mode, gamma, step_size=None, min_lr=0.0). The epoch counter last_epoch starts at 0 with the learning rate equal to base...

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

Implement a ReduceLROnPlateau learning rate scheduler with patience and cooldown

Implement ReduceLROnPlateau, which wraps an object exposing a mutable optimizer.lr. Each call to step(metric) updates the scheduler state, possibly sc...

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

Implement AdamW and Adam with an L2 penalty in NumPy and compare their trajectories

Implement one step of the Adam optimizer in NumPy with a switch that controls how weight decay is applied, then use it to record and compare optimizat...

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

Implement a vectorized haversine, Manhattan distance and bearing transformer for trip coordinates

Implement GeoTripFeatures.transform(X), which takes a DataFrame with pickup_latitude, pickup_longitude, dropoff_latitude and dropoff_longitude (degree...

Machine LearningFeature EngineeringMath & Number Theory
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
MLEMachine Learning Engineer

Implement a variance threshold feature selector with NaN-aware population variance

Implement a class VarianceThresholdSelector(threshold=0.0). fit(X) learns the population variance of each column (ddof=0, NaNs ignored). transform(X) ...

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

Implement a univariate filter feature selector with F-test, chi-squared and mutual information scoring

Implement a class FilterSelector(score_func, k) for univariate filter feature selection against a classification target. fit(X, y) scores every featur...

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

Implement stability selection with a coordinate-descent Lasso on random subsamples

Implement a Lasso solver and a stability selector with NumPy and pandas. lasso_coordinate_descent(X, y, alpha) fits the Lasso by coordinate descent. S...

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

Blending Classifier with Best-Member Fallback

Implement BlendingClassifier(base_estimators, meta_estimator, holdout_fraction=0.2). fit(X, y) trains cloned base models on the first rows, fits a clo...

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

Bayesian Model Averaging with BIC Weights

Bayesian model averaging (BMA) combines M candidate models by weighting each one with its posterior probability. Implement six functions that compute ...

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

Averaging Ensemble Versus Best Single Regressor

You have precomputed predictions from several regression models (the ensemble members) on the same held-out samples. preds has shape (members, samples...

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

Implement Mean Decrease in Impurity (MDI) Feature Importance from Decision Tree Node Arrays

Implement mdi_importances(children_left, children_right, feature, impurity, n_node_samples, n_features) for a fitted decision tree given as parallel n...

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

Decision Tree Cost-Complexity Pruning Sweep and Alpha Selection

Implement three functions. pruning_sweep computes the effective alphas with cost_complexity_pruning_path on the training data, fits one DecisionTreeCl...

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

Implement CART Surrogate Splits to Route Missing Values at Prediction Time

Implement a Gini CART classifier that trains on complete data (X, y) and stores ranked surrogate splits at every internal node. At prediction time, a ...

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