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 Logistic Regression Log-Loss Gradient From Scratch

Implement logistic_gradient(X, y, w, b) from scratch, without sklearn. It returns the gradient of the mean binary log loss at the given parameters as ...

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

Compute Binary Log-Loss From Two-Column predict_proba Output

Implement log_loss_two_column(y_true, proba) to compute binary log-loss from the two-column matrix returned by LogisticRegression.predict_proba. For e...

Machine LearningML CodingModel Evaluation
0
0
0 people solved
Nov 24, 2026
General logo
General
Medium
DSData Scientist

Likelihood-Ratio Test for a Logistic Regression Fit in statsmodels

Implement llr_test(X: np.ndarray, y: np.ndarray) -> tuple[float, int, float]. X is a 2-D float design matrix of shape (n, p) with no intercept column,...

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

Why liblinear and lbfgs give different logistic regression intercepts on imbalanced data

Implement def intercept_penalization_gap(X: np.ndarray, y: np.ndarray) -> tuple. X is a standardized float64 matrix of shape (n_samples, n_features) a...

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

How L2 logistic regression splits weight between two duplicate feature columns

Given a standardized float64 design matrix X of shape (n_samples, n_features) whose columns j1 and j2 are exact duplicates, and binary labels y in {0,...

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

Implement one L2-penalized Newton step for logistic regression in NumPy

Implement one Newton-Raphson update on the L2-penalized mean log-loss for logistic regression, from scratch with NumPy (no sklearn). X is (n_samples, ...

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

Implement L2-Penalized Logistic Regression with Full-Batch Gradient Descent

Implement def fit_logistic_l2_gd(X, y, lr, n_iters, lam) -> tuple[np.ndarray, float]: binary logistic regression trained with full-batch gradient desc...

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

Compute the Gradient of the L2-Penalized Logistic Regression Loss

Implement l2_logistic_gradient(X, y, w, b, lam) using only NumPy (no sklearn). It returns the gradient of `text J(w, b) = -mean(ylog(p) + (1-y)log(1-p...

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

Fit L2-Regularized Logistic Regression and Return the Coefficient Norm for a Given C

Implement def coef_l2_norm_at_C(X: np.ndarray, y: np.ndarray, C: float) -> float. Fit a binary sklearn.linear_model.LogisticRegression on X (shape (n_...

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

L1 vs L2 Logistic Regression: Count Exactly-Zero Coefficients

Implement def l1_vs_l2_zero_counts(X: np.ndarray, y: np.ndarray) -> tuple that fits two binary logistic regression models differing only in penalty an...

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

Count Zero Coefficients Along an L1 Logistic Regression Path Over C

Implement l1_sparsity_path(X, y, Cs). For each C in Cs, fit a fresh binary L1 logistic regression and count its (numerically) zero coefficients. Retur...

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

Implement One IRLS Step for Logistic Regression via the Working Response

Implement one iteratively reweighted least squares (IRLS) update for logistic regression from scratch (no sklearn or statsmodels). Express it as a wei...

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

Convert a Logistic Regression Intercept to Baseline Odds and Probability

Write intercept_baseline(intercept: float) -> tuple[float, float] that converts a logistic-regression intercept (the log-odds when all predictors are ...

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

Implement the Logit Link Function

Implement logit(p), the inverse of the sigmoid. Given a 1-D float64 array p, return a new float64 np.ndarray of the same shape whose element i is log(...

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

Find the highest classification threshold that still meets a target recall

Write threshold_for_target_recall(y_true, y_proba, target_recall) that returns, as a Python float, the highest threshold whose recall is still >= targ...

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

Logistic regression gradient descent that stops on a gradient-norm tolerance and counts its updates

Implement full-batch gradient-descent logistic regression from scratch, using NumPy only (no scikit-learn or optimizer library). It stops early when t...

Machine LearningML CodingML Fundamentals
0
0
0 people solved
Nov 24, 2026
General logo
General
Medium
DSData Scientist

Gradient Check for Logistic Regression

Implement gradient_check(X, y, w, eps) from scratch, using NumPy only (no scikit-learn or SciPy). It compares the analytic gradient of the logistic lo...

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

Return the full, unpruned ROC curve for a logistic model's predicted probabilities

Implement roc_points(y_true, y_proba) that returns the full ROC curve of a logistic model's predicted probabilities as a tuple (fpr, tpr, thresholds),...

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

Implement Full-Batch Gradient Descent for Logistic Regression

Implement fit_logistic_gd(X, y, lr, n_iters) from scratch (no sklearn): full-batch gradient descent for binary logistic regression with the sigmoid 1 ...

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

Class Ordering of LogisticRegression classes_ with String Labels

Implement def fitted_classes(X: np.ndarray, y: np.ndarray) -> np.ndarray that fits a binary LogisticRegression on string labels (for example np.array(...

Machine LearningML Coding
0
0
0 people solved
Nov 24, 2026
Previous1...126212631264...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