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

OLS via Moore-Penrose Pseudo-Inverse

Implement def pinv_coefficients(X: np.ndarray, y: np.ndarray) -> np.ndarray that fits OLS with an intercept via the Moore-Penrose pseudo-inverse. X is...

Machine LearningRegression & Statistical ModelingML Coding
0
0
0 people solved
Nov 24, 2026
General logo
General
Easy
DSData Scientist

Fit OLS regression through the origin (no intercept) in NumPy

Implement no_intercept_ols(X, y), which fits ordinary least squares through the origin (no intercept). Solve beta = (X^T X)^-1 X^T y on X exactly as g...

Machine LearningRegression & Statistical ModelingML Coding
0
0
0 people solved
Nov 24, 2026
General logo
General
Medium
DSData Scientist

OLS t-Statistics and p-Values

Implement t_stats_and_pvalues(X, y) that fits OLS of y on X with an intercept and returns (t_values, p_values), each a 1-D array of shape (p+1,) order...

Machine LearningRegression & Statistical ModelingHypothesis Testing
0
0
0 people solved
Nov 24, 2026
General logo
General
Easy
DSData Scientist

OLS Sum-of-Squares Decomposition

Implement sums_of_squares. Fit the simple OLS line y ≈ b0 + b1 * x (with intercept), compute the fitted values y_hat, and return (sst, ssr, sse) in th...

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

OLS Standard Errors From Scratch

Implement standard_errors_from_scratch(X, y) returning OLS coefficient standard errors computed from the normal-equations covariance matrix. Return a ...

Machine LearningRegression & Statistical ModelingML Coding
0
0
0 people solved
Nov 24, 2026
General logo
General
Easy
DSData Scientist

Compute per-group slopes from a pooled interaction regression (y ~ x + g + x:g)

Implement def group_slopes(df: pd.DataFrame) -> pd.Series. The DataFrame df has columns x (float), g (object, with levels 'ctrl' and 'trt') and y (flo...

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

Compute HC3 Robust Standard Errors for OLS Coefficients in statsmodels

Implement hc3_standard_errors(X, y) in Python. It fits OLS of y on X and returns the HC3 heteroskedasticity-robust standard errors of the coefficients...

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

HC3-Robust 95% Confidence Intervals for OLS Coefficients

Implement robust_coef_conf_int(X, y) in Python with statsmodels. It fits OLS with the HC3 robust covariance and returns the 95% confidence intervals f...

Machine LearningRegression & Statistical ModelingHypothesis Testing
0
0
0 people solved
Nov 24, 2026
General logo
General
Medium
DSData Scientist

Compare HC0, HC1, HC2 and HC3 Robust Standard Errors from One OLS Fit

Implement hc_family_se(X, y) in Python. It fits one OLS of y on sm.add_constant(X) and returns the four heteroskedasticity-consistent standard errors ...

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

Compute the hat matrix trace for linear regression and explain why it equals k+1

Implement a NumPy function that builds the hat matrix of an intercept-augmented regression design and returns its trace. For a full-rank design this e...

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

Compute the hat matrix for linear regression with an intercept

Implement a NumPy function that returns the hat matrix of an ordinary least squares fit with an intercept. `python def hat_matrix(X: np.ndarray) -> np...

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

Compute the Gram matrix and moment vector for linear regression

Implement a NumPy function that returns the two building blocks of the ordinary least squares normal equations, XtX @ beta = Xty, without solving for ...

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

Return only the fitted intercept of a multiple OLS regression as a Python float

Implement def fitted_intercept(X: np.ndarray, y: np.ndarray) -> float that fits a linear regression of y on all columns of X with an intercept, and re...

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

Fit OLS With statsmodels add_constant

Implement def fit_ols_statsmodels(X: np.ndarray, y: np.ndarray) -> np.ndarray that fits OLS of y (shape (n,)) on X (shape (n, p), n=40, p=3, no ones-c...

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

Confidence vs Prediction Interval Widths at New x Values in OLS

Implement def interval_widths_at(x: np.ndarray, y: np.ndarray, x_new: np.ndarray) -> tuple. Fit simple OLS of y on x and return (mean_ci_widths, obs_c...

Machine LearningRegression & Statistical ModelingHypothesis Testing
0
0
0 people solved
Nov 24, 2026
General logo
General
Medium
DSData Scientist

Confidence vs Prediction Interval at x0 with statsmodels OLS

Implement def ci_and_pi(x: np.ndarray, y: np.ndarray, x0: float) -> tuple that fits an OLS regression of y on x with an intercept (sm.add_constant) an...

Machine LearningRegression & Statistical ModelingHypothesis Testing
0
0
0 people solved
Nov 24, 2026
General logo
General
Easy
DSData Scientist

Compute mean absolute error (MAE) in NumPy and compare it with RMSE under an outlier

Implement compute_mae(y_true, y_pred) returning MAE = (1/n) * sum(abs(y_true - y_pred)) as a single float. Inputs are 1-D np.ndarray of equal length n...

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

Compute mean absolute percentage error (MAPE) as both a fraction and a percent

Implement compute_mape(y_true, y_pred) returning the mean absolute percentage error as a tuple of floats (fraction, percent). Requirements: - fraction...

Machine LearningModel EvaluationML Coding
0
0
0 people solved
Nov 24, 2026
General logo
General
Medium
DSData Scientist

Fit OLS on standardized predictors and return the slopes per one standard deviation

Implement def standardized_x_coefficients(X: np.ndarray, y: np.ndarray) -> np.ndarray. Given a 2-D float X of shape (n, 2) and a 1-D float y of length...

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

Return linear regression slope coefficients as a pandas Series indexed by feature name

Implement coefficient_series(df, target) that fits a linear regression with intercept, predicting column target from all other columns of df. Return t...

Machine LearningRegression & Statistical ModelingPandas & Python Data
0
0
0 people solved
Nov 24, 2026
Previous1...126512661267...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