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
Ozon logo
Ozon
Easy
DSData Scientist

Total Each Banned User's Purchases Made Before Their Ban Date

For each banned user, return user_id and total_amount: the sum of their transactions with purchase_date strictly before ban_date. Order by total_amoun...

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

Rank a pandas Series like SQL ROW_NUMBER with method='first'

Implement def ordinal_rank(s: pd.Series) -> pd.Series that ranks each element of a numeric Series ascending using s.rank(method='first') (equivalent t...

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

Count orders per customer in pandas with groupby().size()

Write orders_per_customer(df) that takes a DataFrame with columns customer_id and order_id (one row per order) and returns a Series of the row count p...

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

Sort a DataFrame by low, medium, high priority using an ordered categorical

Implement sort_by_priority(df: pd.DataFrame) -> pd.DataFrame. The 'priority' column holds strings from {'low', 'medium', 'high'}. Convert it to an ord...

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

Convert a pandas label Series to an ordered categorical

Implement ordered_category(s, categories). It takes an object-dtype pd.Series of labels such as 'small', 'medium' and 'large', and a list categories t...

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

Attach the latest quote price to each trade with pandas merge_asof

Implement attach_price_asof(trades, quotes) that attaches to each trade the most recent quote price for the same symbol at or before the trade time. t...

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

Add lag and delta columns to a pandas time series DataFrame

Implement lag_and_diff(df: pd.DataFrame) -> pd.DataFrame. The input has a DatetimeIndex and a numeric 'value' column. Return a new DataFrame that keep...

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

Add an integer day-of-week column to a pandas DataFrame

Write add_day_of_week(df: pd.DataFrame) -> pd.DataFrame that takes a DataFrame with a datetime64[ns] column 'date' and returns a new DataFrame with an...

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

Zero the inner region of a square NumPy array while keeping its border

Given a square NumPy array a of shape (n, n), write zero_interior(a) that returns a copy with every interior element set to 0. The one-element border ...

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

Sort the rows of a NumPy array by a primary and a secondary key with np.lexsort

Given a 2-D NumPy array arr of records, where column 0 is the primary key and column 1 is the secondary key, return the full rows sorted by the primar...

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

Compute a moving average of a NumPy array in linear time with np.cumsum

Given a 1-D array a and a window size n, return the moving average as an array of length len(a) - n + 1, where element i is the mean of a[i:i+n]. The ...

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

Find the most frequent value in a NumPy array, returning the smallest value on ties

Given a 1-D NumPy array arr that may contain negative numbers and repeated values, return its most frequent value. When several values tie for the hig...

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

Estimate pi with a seeded, vectorized Monte Carlo simulation in NumPy

Implement estimate_pi(n: int, seed: int) -> float. It draws n points uniformly in the unit square, counts the points inside the quarter circle (x2 + y...

Data Manipulation (SQL/Python)Sampling & EstimationPandas & Python Data
0
0
0 people solved
Nov 25, 2026
Uber logo
Uber
Medium
DSData Scientist

Nth Transaction of Every User: Return the Middle Transaction by Date

For each user, rank their transactions by transaction_date ascending, with ties broken by transaction_id ascending, so the earliest transaction has ra...

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

Compute total and average binary cross-entropy loss

Implement total_and_average_cost(y_true, y_pred) returning (total_cost, average_cost) for binary cross-entropy: the sum of the per-sample losses, and ...

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

Convert predicted probabilities to 0/1 labels at a threshold

Implement labels_at_threshold(y_proba, threshold), converting a 1-D float array y_proba of positive-class probabilities with shape (n,) (as from predi...

Machine LearningModel EvaluationPandas & Python Data
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Medium
DSData Scientist

Find the lowest classification threshold that meets a target precision

Implement threshold_for_target_precision(y_true, y_proba, target_precision), returning as a Python float the lowest threshold whose precision is >= ta...

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

Compare logistic regression coefficients from statsmodels and scikit-learn

Write statsmodels_vs_sklearn_coefs(X, y). X is a 2-D float array of shape (n, p) with no intercept column, and y is a 1-D integer array of 0/1 labels....

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

Fit a logistic regression with an explicit class_weight dict and return positive-class probabilities

Implement fit_with_class_weight_dict(X, y, weights, X_new): fit a binary logistic regression with an explicit class_weight dict weights (label to floa...

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

Compute odds ratios for dummy-encoded categories in a logistic regression

Implement dummy_odds_ratios(df: pd.DataFrame, y: np.ndarray) -> pd.Series. df has exactly two columns: 'score' (float64) and 'grade' (string categoric...

Machine LearningRegression & Statistical ModelingFeature Engineering
0
0
0 people solved
Nov 25, 2026
Previous1...109410951096...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