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

Weight Image Channels by a Per-Pixel Map with NumPy Broadcasting

Implement weight_channels(A, W) where A has shape (h, w, c) and W has shape (h, w). Multiply every channel of each pixel by that pixel's weight and re...

Data Manipulation (SQL/Python)Pandas & Python Data
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
DSData Scientist

Min-max normalize a 1-D NumPy array to the range [0, 1]

Write minmax(a: np.ndarray) -> np.ndarray that rescales a 1-D array to [0, 1] using (a - a.min()) / (a.max() - a.min()). The smallest value maps to 0 ...

Data Manipulation (SQL/Python)Pandas & Python DataFeature Engineering
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
DSData Scientist

Compute the rank of a matrix with NumPy's matrix_rank and return a Python int

Write a function rank(A) that returns the rank of a 2-D array-like A, meaning the number of linearly independent rows (equivalently, columns). Compute...

Data Manipulation (SQL/Python)Pandas & Python Data
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
DSData Scientist

Compute the matrix product of two NumPy arrays with the @ operator

Write a function matmul(A, B) that returns the matrix product of two 2-D NumPy arrays using the @ operator (or np.matmul). `python A = np.array([[1, 2...

Data Manipulation (SQL/Python)Pandas & Python Data
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
DSData Scientist

Detect the ConvergenceWarning from an Under-Trained scikit-learn LogisticRegression

Write def underfit_iterations(X: np.ndarray, y: np.ndarray) -> tuple[int, bool] that fits a deliberately under-trained LogisticRegression and detects ...

Machine LearningML CodingProgramming Languages
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
DSData Scientist

Standardized Logistic Regression Coefficients

Implement standardized_coefs(X: np.ndarray, y: np.ndarray) -> np.ndarray. X is an (n, p) float array of raw predictors and y is a 1-D 0/1 int array. S...

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

Stable Sigmoid Derivative

Implement stable_sigmoid_derivative(z). Given a 1-D float64 NumPy array z, return a new float64 array of the same shape holding sigma(z)*(1-sigma(z)),...

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

Stable Masked Sigmoid From Scratch

Implement stable_sigmoid_masked(z). Given a float64 NumPy array z (1-D or 2-D), return a new float64 array with out.shape == z.shape holding the eleme...

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

Reproduce scikit-learn logistic regression predict from decision_function and classes_

Implement predict_via_decision_function(X_train, y_train, X_test): fit a binary scikit-learn LogisticRegression and return exactly what model.predict(...

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

Reproduce logistic regression predict_proba from decision_function with expit

Implement proba_via_decision_function(X_train, y_train, X_test). Fit a binary scikit-learn LogisticRegression on the training data and return the posi...

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

Return positive-class probabilities from a scikit-learn logistic regression

Implement positive_class_proba(X_train, y_train, X_test). It fits a binary scikit-learn LogisticRegression on the training data and returns $P(y=1)$ f...

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

Vectorized Logistic Regression Gradient with the Intercept in the Design Matrix

Implement logistic_gradient_design(X, y, w) from scratch (no sklearn) with the intercept absorbed as w[0]. X already has a leading column of ones, so ...

Machine LearningML CodingML Fundamentals
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
DSData Scientist

Logistic Regression Decision Boundary as a Slope and Intercept

Given a 1-D float64 array w of shape (2,) and a Python float b, implement boundary_slope_intercept(w, b) to rewrite the decision boundary w[0]x1 + w[1...

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

L1 Logistic Regression Feature Selection with LogisticRegressionCV

Implement the function below. X is an already-standardized float64 array of shape (n_samples, n_features) and y has labels in {0, 1}. Fit an L1-penali...

Machine LearningFeature EngineeringML Fundamentals
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
DSData Scientist

Cost-Optimal Threshold Selection for a Binary Classifier

Implement cost_optimal_threshold(y_true, y_proba, cost_fp, cost_fn, candidates) for a binary classifier. y_true holds integer labels (0 or 1) and y_pr...

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

Fit OLS with an intercept from a QR factorization without forming the normal equations

Implement def qr_ols(X: np.ndarray, y: np.ndarray) -> np.ndarray that fits ordinary least squares (OLS) with an intercept via QR factorization. X is f...

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

Fit linear regression with non-negative slopes and a free intercept in scikit-learn

Implement def nonnegative_coefficients(X: np.ndarray, y: np.ndarray) -> np.ndarray that fits a multiple linear regression of y on X (with intercept) s...

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

Compute centered and uncentered R-squared for OLS with and without an intercept

Implement def r2_with_and_without_intercept(X: np.ndarray, y: np.ndarray) -> tuple. Given X of shape (18, 2) and target y, fit OLS model A with an int...

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

Return OLS coefficient p-values as a named pandas Series with statsmodels

Implement coefficient_pvalue_series(df, target): regress column target on all other columns of df (in existing order) via OLS with an intercept, and r...

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

Fit OLS with an intercept for multiple targets in a single NumPy solve

Implement def multi_target_ols(X: np.ndarray, Y: np.ndarray) -> np.ndarray that fits OLS with an intercept for k targets in a single solve. X is float...

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