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

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
General logo
General
Medium
DSData Scientist

Classical vs HC3 Robust Standard Errors from One OLS Fit

Implement nonrobust_vs_hc3_se(X, y) in Python with statsmodels. The function adds an intercept with sm.add_constant, fits OLS once, and returns (param...

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

Mean-centering predictors in an OLS model with an interaction term

Implement centering_with_interaction(df), where df is a pd.DataFrame with float columns x1, x2 and y. Fit two OLS interaction models: (A) on raw x1 an...

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

Fit OLS with an intercept by mean-centering, without a ones column

Implement def centered_ols(X: np.ndarray, y: np.ndarray) -> np.ndarray that fits OLS with an intercept via mean-centering, never appending a ones colu...

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

Categorical contrasts in OLS against a caller-chosen reference level

Implement contrast_vs_reference(df, reference). df has columns y (float) and g (object, with levels 'a', 'b', 'c'), and reference is one of those leve...

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

Best-subset selection by adjusted R² over every column subset

Implement best_subset_by_adjusted_r2(X, y) for a feature matrix X of shape (n, p) = (24, 4) and a target y. Enumerate every non-empty subset of column...

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

Adjusted R² penalty for a junk predictor in nested OLS models

Implement junk_predictor_effect(X, y, junk). It fits two nested ordinary least squares (OLS) models, both with an intercept, and reports how a predict...

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

Adjusted R-Squared From Scratch

Implement adjusted_r2(r2: float, n: int, p: int) -> float, which turns an ordinary R-squared into adjusted R-squared by pure arithmetic, with no refit...

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

Reconcile stored account balances against transaction history in SQL

Each account's stored balance is kept in accounts.current_balance, and every movement of money on the account is recorded in transactions. A reconcili...

Data Manipulation (SQL/Python)SQL
0
0
0 people solved
Nov 24, 2026
General logo
General
Medium
DSData Scientist

Wilcoxon Signed-Rank W Statistic

Table pairs holds one row per subject with a measurement taken before and after a treatment. Compute the Wilcoxon signed-rank statistic for the paired...

Data Manipulation (SQL/Python)SQLHypothesis Testing
0
0
0 people solved
Nov 24, 2026
Previous1...126612671268...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