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

Compute the least-squares slope for a regression through the origin (no intercept)

Implement slope_through_origin(x, y), which fits the no-intercept model $y = \beta x$ on 1-D float arrays x and y of shape (n,). Return $\beta$ as a s...

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

Recover the OLS intercept from a no-intercept fit on centered data

Implement recover_intercept(X, y) that reproduces a with-intercept OLS fit using only a no-intercept solver. X is a float array of shape (40, 3) with ...

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

Rank-Aware OLS Solver Dispatch

Implement def robust_ols(X: np.ndarray, y: np.ndarray) -> tuple[np.ndarray, str] fitting OLS with an intercept. X is float64 (n, p) without a ones col...

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

R-squared for Simple OLS Fit

Implement r_squared_simple, which fits a simple OLS line with an intercept on a single predictor and returns $R^2$ as 1 - SSE/SST, where SSE = sum((y ...

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

Verify that R-squared equals squared correlation in simple linear regression

Implement r2_equals_corr_squared(x, y) in Python. Fit the ordinary least squares line $y \approx b_0 + b_1 x$ with an intercept, compute r2 as ${1 - S...

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

Compute R² for Nested OLS Fits and Show It Never Decreases

Implement def r2_is_monotone_in_predictors(X: np.ndarray, y: np.ndarray) -> np.ndarray. For each k = 1, 2, ..., X.shape[1], fit OLS with an intercept ...

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

Quadratic Fit With patsy I() in the statsmodels Formula API

Implement def squared_term_params(df: pd.DataFrame) -> pd.Series for a DataFrame with float columns x and y. Fit 'y ~ x + I(x2)' with the statsmodels ...

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

Quadratic Design Matrix With PolynomialFeatures

Implement def quadratic_design(x: np.ndarray) -> np.ndarray. Given a 1-D float ndarray x of length n, use sklearn.preprocessing.PolynomialFeatures to ...

Machine LearningFeature Engineering
0
0
0 people solved
Nov 24, 2026
General logo
General
Medium
DSData Scientist

Build a 95% Prediction Interval for Simple OLS From Scratch

Implement def manual_prediction_interval(x: np.ndarray, y: np.ndarray, x0: float) -> tuple. Fit simple OLS of y on x and return the two-sided 95% pred...

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

Predict from a DataFrame with linear regression while preserving its index

Implement def predict_frame(train: pd.DataFrame, new: pd.DataFrame) -> pd.Series. Fit a linear regression with intercept predicting 'y' from ['a', 'b'...

Machine LearningPandas & Python Data
0
0
0 people solved
Nov 24, 2026
General logo
General
Easy
DSData Scientist

Return scikit-learn PolynomialFeatures output names as a Python list

Implement def poly_feature_names(X: np.ndarray) -> list. Given a 2-D float ndarray X of shape (n, 2), fit sklearn.preprocessing.PolynomialFeatures(deg...

Machine LearningFeature Engineering
0
0
0 people solved
Nov 24, 2026
General logo
General
Medium
DSData Scientist

Compute per-group OLS slopes in pandas and return them as a Series

Implement def groupwise_slopes(df: pd.DataFrame) -> pd.Series. The input has columns group (string), x (float) and y (float). Fit a simple OLS regress...

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

Compute the Pearson correlation coefficient of two NumPy arrays as a scalar

Implement def pearson_correlation(x: np.ndarray, y: np.ndarray) -> float that returns the Pearson correlation coefficient r between two equal-length 1...

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

Partial F-Test for Nested Models

Implement def nested_model_f_test(X: np.ndarray, y: np.ndarray, drop_indices: list[int]) -> tuple[float, float, int]. Fit a full OLS model of y on all...

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

Overall F-Test for OLS From Scratch

Implement def f_statistic_from_scratch(X: np.ndarray, y: np.ndarray) -> tuple[float, float]: fit OLS of y on X with an intercept and return the overal...

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

Overall F-Test for OLS Using statsmodels

Implement def overall_f_test(X: np.ndarray, y: np.ndarray) -> tuple[float, float]: fit OLS of y on X with an intercept and run the overall F-test (nul...

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

One-Pass OLS From Sufficient Statistics

Implement def ols_from_running_sums(n, sum_x, sum_y, sum_xy, sum_xx), which recovers a simple OLS line from the count and four running sums only. Retu...

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

One-hot encode a categorical predictor for linear regression in pandas

Implement encode_for_regression(df). df has exactly two columns: x (float) and city (object, with values from 'Berlin', 'Hamburg' and 'Munich'). Retur...

Machine LearningFeature EngineeringPandas & Python Data
0
0
0 people solved
Nov 24, 2026
General logo
General
Easy
DSData Scientist

Compare OLS and Huber robust regression slopes with statsmodels

Implement ols_vs_rlm_slope(x, y) with statsmodels. Fit y on x with both ordinary least squares (OLS) and Huber robust regression (RLM), and return (ol...

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

Solve OLS with an intercept using a truncated SVD in NumPy

Implement svd_ols(X, y, rcond) to solve OLS with an intercept from a truncated SVD. X is float64 of shape (n, p) without a column of ones, y is float6...

Machine LearningRegression & Statistical ModelingML Coding
0
0
0 people solved
Nov 24, 2026
Previous1...126412651266...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