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

Dummy coefficient as a contrast: fit OLS on a two-level plan dummy and return its coefficient

Implement def dummy_contrast(df: pd.DataFrame) -> float. df has columns y (float) and plan (object, 'basic' or 'premium'). Fit OLS of y on a single pl...

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

Conditioning report: verify that cond(XᵀX) = cond(X)² for a regression design matrix

Implement the function below. X is float64 of shape (n, p) without a ones column. Prepend a ones column to form the design matrix Xd and return (cond_...

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

Compute RMSE between true and predicted values in NumPy

Implement compute_rmse(y_true, y_pred) that takes two 1-D np.ndarray of equal length n and returns their root mean squared error as a single float. Di...

Machine LearningML CodingModel Evaluation
0
0
0 people solved
Nov 25, 2026
Amazon logo
Amazon
Medium
DSData Scientist

Compute Each Player's Running Total of Games Played by Date

The Activity table has one row per player per day, with the device used and the number of games played that day. For each player and date, return play...

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

Find the Person with the Most Friends from Accepted Friend Requests

Each row in RequestAccepted is an accepted friendship between requester_id and accepter_id (both person ids). Return the person with the most friends ...

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

Compute the Overall Friend Request Acceptance Rate from Distinct Pairs

You have a table of friend requests and a table of accepted requests. Return the overall acceptance rate as accept_rate: the number of acceptances div...

Data Manipulation (SQL/Python)SQL
0
0
0 people solved
Nov 25, 2026
General logo
GeneralBaiduCGI

Also asked at Baidu, CGI, EXL, Tata Digital

Easy
DSData Scientist

Find Duplicate Employee Records by Name and Email, Keeping the Smallest ID

Each row of the Employees table is one employee record. A row is a duplicate if another row has the same name and email but a smaller id. Within each ...

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

Build a two-dimensional segment lift report in pandas (cell mean vs overall mean)

Write two_dim_segment_lift(df, seg1, seg2, metric) that crosses two segment columns and returns a long DataFrame, with one row per observed (seg1, seg...

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

Count Tukey outlier severity buckets (inside, mild, extreme) for a pandas column

Implement outlier_severity_counts(df, col) that classifies every non-null value of the numeric column col into Tukey severity buckets and returns the ...

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

Compute the Tukey five-number summary of a pandas Series

Implement five_number_summary(s: pd.Series) -> pd.Series that returns the five-number summary of a numeric Series as a float64 Series indexed exactly ...

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

Build a Tukey fence sensitivity table across IQR multipliers in pandas

Write a pandas function fence_sensitivity(df, col) that reports how the Tukey outlier count for one numeric column changes as the fence multiplier gro...

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

Profile the numeric columns of a pandas DataFrame with missing share, center, spread and a skew flag

Implement numeric_summary(df: pd.DataFrame) -> pd.DataFrame, which returns a per-column profile of the numeric columns only (object and string columns...

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

Aggregate a pandas DataFrame's deep memory usage by column dtype

Write memory_profile_by_dtype(df: pd.DataFrame) -> pd.DataFrame, which aggregates true memory usage by column dtype. Compute per-column bytes with df....

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

Compare a feature's mean across the two classes of a binary target in pandas

Implement feature_means_by_target(df, feature, target), where target names an integer 0/1 column and feature a numeric column. Return a float64 pd.Ser...

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

Return the n highest and n lowest rows of a DataFrame in one tagged table

Write extreme_rows(df, col, n) that returns the n largest and n smallest rows of df by numeric column col in one table, with an added column extreme_t...

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

Score class imbalance in a pandas column with normalized entropy

Implement class_balance_score(s: pd.Series) -> float returning 1 - entropy(counts, base=2) / log2(k) as a Python float, where counts are the level fre...

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

Profile full-row duplicates in a pandas DataFrame as a float64 Series

Write duplicate_summary(df) returning a profile of full-row duplicates in a pandas DataFrame (all columns considered, so two rows are duplicates only ...

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

Report which pandas text columns save memory when converted to category

Write category_memory_savings(df: pd.DataFrame) -> pd.DataFrame. For each object or string column, it compares the column's current deep memory with i...

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

Profile the categorical columns of a pandas DataFrame: levels, top value and missing share

Write a function categorical_profile(df: pd.DataFrame) -> pd.DataFrame that summarizes every object, string or category column in df and leaves numeri...

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

Compute per-arm sample sizes for an A/B test with unequal traffic allocation

Implement unequal_allocation_n in solution.py to compute per-arm sample sizes for a two-proportion A/B test when treatment gets ratio times as many us...

Analytics & ExperimentationExperiment Design (A/B Testing)Hypothesis Testing
0
0
0 people solved
Nov 25, 2026
Previous1...106910701071...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