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.0k
Updated
11.25.2026
25.9k Questions 1.0k 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
Easy
DSData Scientist

Filter a NumPy array to values above a threshold with a boolean mask

Given a 1-D NumPy array arr and a scalar threshold, return a new 1-D array of the elements strictly greater than threshold, in original order. Require...

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

Return the sorted distinct values of a NumPy array and their counts

Given a 1-D NumPy array, return a tuple of two NumPy arrays (values, counts): values holds the distinct elements in ascending order and counts[i] is t...

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

Report monthly approved and chargeback counts and amounts per merchant

The transactions table holds one row per payment attempt, each with a status of 'approved', 'declined' or 'chargeback'. For each month and merchant_id...

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

Compute monthly and cumulative revenue per merchant with window functions

The transactions table holds one row per transaction a merchant received. Using window functions, compute each merchant's monthly revenue and running ...

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

Build a StandardScaler and logistic regression pipeline that avoids test-set leakage

Implement scaled_pipeline_predict(X_train, y_train, X_test) that fits a Pipeline of StandardScaler then LogisticRegression on the training data and re...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Medium
DSData Scientist

Compute ROC AUC and average precision for a logistic regression under class imbalance

Implement roc_vs_pr_under_imbalance(X_train, y_train, X_test, y_test) on a fixed, heavily imbalanced dataset (about 5% positives). Fit a logistic regr...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Easy
DSData Scientist

Compute ROC AUC from logistic regression probabilities without thresholding

Implement auc_from_probabilities(y_true, y_proba). y_true is a 1-D int ndarray of 0/1 labels and y_proba is the 1-D float ndarray predict_proba(X)[:, ...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Medium
DSData Scientist

Show how balanced class weights shift a logistic regression intercept

Implement reweighting_shifts_intercept(X: np.ndarray, y: np.ndarray) -> dict. On an imbalanced binary dataset, fit LogisticRegression(solver='lbfgs', ...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Easy
DSData Scientist

Recover the x2 coordinate of a two-feature logistic regression decision boundary

Implement decision_boundary_x2(w, b, x1) for a 2-feature logistic regression with score z = w[0]x1 + w[1]x2 + b. Given float64 w of shape (2,), Python...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Easy
DSData Scientist

Reconstruct logistic regression predict labels from predict_proba and classes_

Implement predict_from_proba(X, y, X_new), where y holds three string labels. Fit the model, then reconstruct predict from predict_proba(X_new) and re...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Medium
DSData Scientist

Reconstruct a StandardScaler + LogisticRegression Pipeline's decision_function by Hand

Implement manual_pipeline_scores(X_train, y_train, X_test). It fits Pipeline([('scaler', StandardScaler()), ('clf', LogisticRegression(...))]) on the ...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Easy
DSData Scientist

Reconfigure a scikit-learn Pipeline's logistic regression with set_params

Implement def reconfigure_pipeline(X_train, y_train, X_test) -> tuple[np.ndarray, str]. Build a scaler plus logistic regression Pipeline, reconfigure ...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Medium
DSData Scientist

Build a probability quality report with Brier score, ROC AUC and weighted ECE

Write probability_quality_report(y_true, y_proba, n_bins) that measures the quality of predicted probabilities. Do not fit any calibrator. Return a di...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Easy
DSData Scientist

Convert Probabilities to Odds in NumPy

Implement prob_to_odds(p). Given a 1-D float64 NumPy array p of probabilities in [0, 1), return a new float64 array of the same shape with element i e...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Medium
DSData Scientist

Extract Logistic Regression Coefficients from a scikit-learn Pipeline with named_steps

Implement pipeline_coefficients(X, y). It fits Pipeline([('scaler', StandardScaler()), ('clf', LogisticRegression(...))]) on (X, y) and returns pipe.n...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Easy
DSData Scientist

Convert Odds to Probabilities in NumPy

In logistic regression, the odds of an event with probability $p$ are $p / (1 - p)$, computed by prob_to_odds(p) = p / (1 - p). Implement odds_to_prob...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Medium
DSData Scientist

Show that balanced class weights, a class weight dict and sample weights fit the same logistic regression

Implement weighting_equivalence(X: np.ndarray, y: np.ndarray) -> dict. It fits three logistic regression models on imbalanced binary data, each expres...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Medium
DSData Scientist

Measure how L2 logistic regression collapses to the base rate as C goes to 0

Implement def base_rate_gap(X: np.ndarray, y: np.ndarray, C: float) -> float. X is standardized float64 of shape (n_samples, n_features) and y has lab...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Easy
DSData Scientist

Compute the Brier score of logistic regression predicted probabilities

Write brier(y_true, y_proba) that returns the Brier score of a logistic model's positive-class probabilities: $$BS = \frac{1}{n} \sum_{i=1}^{n} (p_i -...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Easy
DSData Scientist

Binary vs multiclass logistic regression in scikit-learn: coef_ and decision_function shapes

Implement coef_shapes(X, y_binary, y_multi) -> dict. Fit two scikit-learn models on X (shape (n, 2)): one on y_binary (2 classes) and one on y_multi (...

Machine Learning
0
0
0 people solved
Nov 25, 2026
Previous1...110211031104...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