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
MLEMachine Learning Engineer

Explain a KNN Prediction: Neighbours, Distances and Vote Counts

Implement explain_prediction(X_train, y_train, query, k) for one query point using Euclidean distance. Return a dict with keys indices, labels, distan...

Machine LearningML CodingSupervised Learning
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
MLEMachine Learning Engineer

Distance-Weighted KNN Regression and Probabilities

Implement inverse-distance-weighted KNN using Euclidean distance. inverse_distance_weights(distances) normalises 1/d per row so weights sum to 1. If a...

Machine LearningML CodingSupervised Learning
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
MLEMachine Learning Engineer

Cosine-Distance KNN Classifier for Embeddings

Implement normalize_rows(X), cosine_distances(A, B) and a CosineKNNClassifier with fit, kneighbors, predict_proba and predict. Normalise rows to unit ...

Machine LearningML CodingSupervised Learning
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
MLEMachine Learning Engineer

Implement SGD with classical (heavy-ball) momentum in NumPy

Implement SGDMomentum.step(params, grads), which takes equal-length lists of NumPy arrays and returns a new list of updated parameter arrays. For each...

Machine LearningML CodingNeural Networks & Training
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
MLEMachine Learning Engineer

Implement one RMSProp optimizer step with optional momentum in NumPy

Implement init_rmsprop_state(params) and rmsprop_step(params, grads, state, lr=0.01, rho=0.9, eps=1e-8, momentum=0.0) in NumPy. The step applies one R...

Machine LearningML CodingNeural Networks & Training
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
MLEMachine Learning Engineer

Implement Polyak and stochastic weight averaging for SGD in NumPy

Implement three NumPy functions: ema_update (exponential moving average), swa_update (uniform running mean), and sgd_with_averaging, which runs plain ...

Machine LearningML CodingNeural Networks & Training
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
MLEMachine Learning Engineer

Implement a TF-IDF vectorizer from scratch with smooth IDF and L2 normalization

Implement TfidfVectorizer with fit(docs), transform(docs) and fit_transform(docs). Tokenize by lowercasing and splitting on whitespace (str(doc).lower...

Machine LearningML CodingNatural Language Processing
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
MLEMachine Learning Engineer

Implement a scikit-learn compatible StandardScaler from scratch

Implement ScratchStandardScaler, a scikit-learn compatible transformer (BaseEstimator, TransformerMixin). fit(X, y=None) learns per-column statistics,...

Machine LearningML CodingFeature Engineering
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
MLEMachine Learning Engineer

Implement a RobustScaler from scratch using the median and IQR

Implement a RobustScaler class. fit(X) learns each feature's median (center_) and IQR (scale_), and transform(X) returns (X - center_) / scale_ using ...

Machine LearningML CodingFeature Engineering
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
MLEMachine Learning Engineer

Trustworthiness and Continuity for PCA vs t-SNE

Implement trustworthiness(X, X_embedded, n_neighbors) and continuity(X, X_embedded, n_neighbors) from scratch using Euclidean k-NN ranks (self exclude...

Machine LearningML CodingUnsupervised Learning
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
MLEMachine Learning Engineer

t-SNE Joint Probabilities with Perplexity Search

Implement joint_probabilities(X, perplexity, tol=1e-5, max_iter=200) for data X of shape (n, d). For each point i, binary-search a precision beta_i so...

Machine LearningML CodingBinary Search
0
0
0 people solved
Nov 25, 2026
General logo
General
Hard
MLEMachine Learning Engineer

Implement t-SNE Affinities, KL Divergence and Its Gradient in NumPy

Implement five building blocks of t-SNE in NumPy: conditional_probabilities, joint_probabilities, student_t_affinities, kl_divergence and tsne_gradien...

Machine LearningML CodingUnsupervised Learning
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
MLEMachine Learning Engineer

Weighted Decision Stump Split Search

Implement fit_stump(X, y, sample_weight=None), which searches every feature and threshold for the single split that maximizes weighted Gini gain. It r...

Machine LearningML CodingSupervised Learning
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
MLEMachine Learning Engineer

Implement a Class-Weighted CART Classifier: Gini, Splits and Leaf Prediction

Implement a CART classifier where each sample of class c counts with weight class_weight.get(c, 1.0). A None dict means all weights are 1. Fill in gin...

Machine LearningML CodingSupervised Learning
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
MLEMachine Learning Engineer

Implement C4.5 gain ratio and pick the best categorical split feature

Implement the split scores C4.5 uses to choose a categorical feature. For a multiway split on a categorical feature x with labels y, write entropy(y),...

Machine LearningML CodingSupervised Learning
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
MLEMachine Learning Engineer

Simulate validation overfitting from picking the best of many random classifiers

A model selection loop can overfit the validation set even when no candidate has learned anything. Simulate this on data whose 0/1 labels are pure noi...

Machine LearningModel EvaluationML Coding
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
MLEMachine Learning Engineer

Implement k-fold and hold-out splits and compare train, hold-out and CV accuracy

Implement three functions that compare a model's accuracy on the data it was trained on, on one random hold-out split, and averaged over k folds. The ...

Machine LearningML CodingML Fundamentals
0
0
0 people solved
Nov 25, 2026
General logo
General
Hard
MLEMachine Learning Engineer

DPO Loss and Gradient in NumPy

Implement dpo_loss and dpo_loss_grad from per-example policy and reference log-probabilities of chosen and rejected responses. Both take the same argu...

Machine LearningML CodingFine-Tuning & Alignment Techniques
0
0
0 people solved
Nov 25, 2026
General logo
General
Medium
MLEMachine Learning Engineer

Cost-Sensitive Binary Cross-Entropy from Logits

Implement cost_sensitive_bce(y_true, logits, cost_matrix, sample_weight=None, reduction="mean") and its gradient with respect to the logits, cost_sens...

Machine LearningML CodingML Fundamentals
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
MLEMachine Learning Engineer

Cosine Embedding Loss With Safe Norms

Implement cosine_embedding_loss(x1, x2, y, margin=0.0, reduction="mean", eps=1e-8) over paired rows of x1 and x2, both of shape (N, D). For each row c...

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