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
Easy
DSData Scientist

Compute ROC AUC from logistic regression probabilities without thresholding

Implement auc_from_probabilities(y_true, y_proba). y_true is a 1-D int ndarray of 0/1 labels and y_proba is the 1-D float ndarray predict_proba(X)[:, ...

Machine LearningModel Evaluation
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
DSData Scientist

Show how balanced class weights shift a logistic regression intercept

Implement reweighting_shifts_intercept(X: np.ndarray, y: np.ndarray) -> dict. On an imbalanced binary dataset, fit LogisticRegression(solver='lbfgs', ...

Machine LearningML CodingRegression & Statistical Modeling
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Recover the x2 coordinate of a two-feature logistic regression decision boundary

Implement decision_boundary_x2(w, b, x1) for a 2-feature logistic regression with score z = w[0]x1 + w[1]x2 + b. Given float64 w of shape (2,), Python...

Machine LearningML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Reconstruct logistic regression predict labels from predict_proba and classes_

Implement predict_from_proba(X, y, X_new), where y holds three string labels. Fit the model, then reconstruct predict from predict_proba(X_new) and re...

Machine LearningML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
DSData Scientist

Reconstruct a StandardScaler + LogisticRegression Pipeline's decision_function by Hand

Implement manual_pipeline_scores(X_train, y_train, X_test). It fits Pipeline([('scaler', StandardScaler()), ('clf', LogisticRegression(...))]) on the ...

Machine LearningML CodingRegression & Statistical Modeling
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Reconfigure a scikit-learn Pipeline's logistic regression with set_params

Implement def reconfigure_pipeline(X_train, y_train, X_test) -> tuple[np.ndarray, str]. Build a scaler plus logistic regression Pipeline, reconfigure ...

Machine LearningML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
DSData Scientist

Build a probability quality report with Brier score, ROC AUC and weighted ECE

Write probability_quality_report(y_true, y_proba, n_bins) that measures the quality of predicted probabilities. Do not fit any calibrator. Return a di...

Machine LearningModel EvaluationML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Convert Probabilities to Odds in NumPy

Implement prob_to_odds(p). Given a 1-D float64 NumPy array p of probabilities in [0, 1), return a new float64 array of the same shape with element i e...

Machine LearningProbabilityPandas & Python Data
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
DSData Scientist

Extract Logistic Regression Coefficients from a scikit-learn Pipeline with named_steps

Implement pipeline_coefficients(X, y). It fits Pipeline([('scaler', StandardScaler()), ('clf', LogisticRegression(...))]) on (X, y) and returns pipe.n...

Machine LearningML CodingRegression & Statistical Modeling
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Convert Odds to Probabilities in NumPy

In logistic regression, the odds of an event with probability $p$ are $p / (1 - p)$, computed by prob_to_odds(p) = p / (1 - p). Implement odds_to_prob...

Machine LearningPandas & Python Data
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
DSData Scientist

Show that balanced class weights, a class weight dict and sample weights fit the same logistic regression

Implement weighting_equivalence(X: np.ndarray, y: np.ndarray) -> dict. It fits three logistic regression models on imbalanced binary data, each expres...

Machine LearningSupervised LearningRegression & Statistical Modeling
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
DSData Scientist

Measure how L2 logistic regression collapses to the base rate as C goes to 0

Implement def base_rate_gap(X: np.ndarray, y: np.ndarray, C: float) -> float. X is standardized float64 of shape (n_samples, n_features) and y has lab...

Machine LearningRegression & Statistical ModelingML Fundamentals
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Binary vs multiclass logistic regression in scikit-learn: coef_ and decision_function shapes

Implement coef_shapes(X, y_binary, y_multi) -> dict. Fit two scikit-learn models on X (shape (n, 2)): one on y_binary (2 classes) and one on y_multi (...

Machine LearningSupervised LearningRegression & Statistical Modeling
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Compare test AUC with accuracy at two thresholds for a logistic regression

Implement auc_is_threshold_independent(X_train, y_train, X_test, y_test). Fit LogisticRegression(solver='lbfgs', penalty='l2', C=1.0, max_iter=1000, t...

Machine LearningModel Evaluation
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
DSData Scientist

Compute ROC AUC from Mann-Whitney U ranks without sklearn helpers

Implement auc_from_ranks(y_true, y_proba) to compute the ROC AUC of positive-class probabilities via the Mann-Whitney U identity, without calling roc_...

Machine LearningModel EvaluationML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Compute a zero-safe MAPE that excludes zero actuals and counts them

Implement safe_mape(y_true, y_pred) to compute MAPE over only the non-zero actuals. Return the tuple (mape_fraction, n_excluded). - mape_fraction is t...

Machine LearningModel Evaluation
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Find the Index of the Largest Absolute Residual in an OLS Fit

Implement def index_of_largest_residual(X: np.ndarray, y: np.ndarray) -> int. X has shape (n, k) with no intercept column and y has shape (n,). Fit OL...

Machine LearningRegression & Statistical Modeling
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Compute In-Sample and Out-of-Sample R² for an OLS Fit

Implement train_test_r2(X_train, y_train, X_test, y_test) that fits OLS with an intercept on the training data only, then evaluates that single model ...

Machine LearningRegression & Statistical ModelingModel Evaluation
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Compute the In-Sample R² of an OLS Linear Regression Fit

Implement in_sample_r2(X, y) that fits OLS with an intercept on the full X (shape (20, 3)) and y (shape (20,)), predicts on the same X, and returns th...

Machine LearningRegression & Statistical Modeling
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Compute In-Sample R² and Adjusted R² for an OLS Fit

Implement fit_r2_and_adjusted(X: np.ndarray, y: np.ndarray) -> tuple. The function fits ordinary least squares (OLS) with an intercept on X (shape (n,...

Machine LearningRegression & Statistical Modeling
0
0
0 people solved
Nov 25, 2026
Previous1...112211231124...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