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
Questions CompaniesUpdated
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
25.9k Questions1.1k CompaniesUpdated 11.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
PracHub logo
General
Hard
MLEMachine Learning Engineer

Ball Tree With Exact k-NN Queries

Implement a class BallTree(X, leaf_size=2) that builds a ball tree over training points X of shape (n, d), and a method query(Q, k=1) that returns (di...

Machine LearningTreesML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Hard
MLEMachine Learning Engineer

Implement RUSBoost With Per-Round Majority Undersampling

Implement a binary RUSBoostClassifier: discrete AdaBoost where each round trains a weak learner on all minority rows plus an equal-size random draw of...

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

NearMiss-1 Undersampling From Scratch

Implement near_miss_1(X, y, k=3, ratio=1.0) for a binary dataset. Keep every minority row. Score each majority row by its mean Euclidean distance to i...

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

Implement a Multi-Class Random Oversampler in NumPy

Implement RandomOverSampler.fit_resample(X, y). It duplicates rows of every minority class, sampling with replacement, until each class has the majori...

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

Nesterov Accelerated Gradient Step

Implement nesterov_step(params, velocity, grad_fn, lr, momentum), which evaluates the gradient once at the look-ahead point and returns (new_params, n...

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

Mini-Batch SGD with Gradient Variance Tracking

Implement minibatch_sgd(grad_fn, loss_fn, w0, X, y, lr, batch_size, n_epochs, seed=0, drop_last=False). Train w with mini-batch SGD using a fresh shuf...

Machine LearningML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Hard
MLEMachine Learning Engineer

L-BFGS with Two-Loop Recursion

Implement four NumPy functions that together minimize a differentiable function f with L-BFGS, given its gradient function grad. The curvature histori...

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

Guarded Momentum SGD With LR Backoff

Implement GuardedSGD.step(params, grads), a momentum SGD step that updates params in place and returns True if applied or False if skipped. Any non-fi...

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

Gradient Clipping by Value and Global Norm

Given a list of NumPy gradient arrays grads, implement two functions: - clip_by_value(grads, clip_value) clips every element to [-clip_value, clip_val...

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

Recursive Feature Elimination From Scratch

Implement recursive_feature_elimination(estimator, X, y, n_features_to_select=None, step=1). Each round, fit a fresh clone of estimator on the survivi...

Machine LearningFeature EngineeringML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Quantile Rank Normalizer With Uniform or Normal Output

Implement a QuantileNormalizer class with fit(X), transform(X) and fit_transform(X) that works on a numeric pd.DataFrame. Per column, it maps each val...

Machine LearningFeature EngineeringML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Point-in-Time Rolling User Aggregates

Implement build_point_in_time_features(events). It returns a copy of events with two columns appended. For each row at time t, use only the same user_...

Machine LearningML Data Pipelines & Feature StoresFeature Engineering
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Pairwise Product and Ratio Features

Implement PairwiseInteractionFeatures(pairs, fill_value=0.0). For each (a, b) in pairs, transform(X) returns a copy of the DataFrame with columns a * ...

Machine LearningFeature EngineeringML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
MLEMachine Learning Engineer

Out-of-Fold Target Encoder with Smoothing

Implement OutOfFoldTargetEncoder(cols, m=1.0, n_splits=5) with fit(X, y), transform(X) and fit_transform(X, y). Each category encodes to (sum_y + m * ...

Machine LearningFeature EngineeringML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
MLEMachine Learning Engineer

Ordinal Encoder with Explicit Ordering

Implement OrdinalEncoder(categories, unknown_value=-1), where categories is a dict mapping a column name to an ordered list. Each category encodes to ...

Machine LearningFeature EngineeringML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Hard
MLEMachine Learning Engineer

Streaming Incremental PCA with partial_fit

Implement StreamingPCA(n_components). Its partial_fit(X) consumes one mini-batch X of shape (b, d) and updates the model without storing past rows. Re...

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

Sparse LSA via Truncated SVD

Implement an LSA class with fit, transform, fit_transform and top_terms. fit(X) computes the top n_components right singular vectors of an uncentered ...

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

Scree Plot Data with Elbow Selection for PCA

Implement four functions that choose the number of PCA components for a data matrix X of shape (n, p). select_n_components(X) returns the elbow-select...

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

PCA With and Without Standardisation

Implement three functions on a feature matrix X of shape (n, d). standardize z-scores each column, pca_summary runs PCA on centred or standardised dat...

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

PCA via Thin SVD in NumPy

Implement pca_svd(X, n_components) for a data matrix X of shape (n, d). Centre the columns, take the thin SVD of the centred data, and return (scores,...

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