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

Filter a Pandas DataFrame with a Multi-Condition Boolean Mask

Implement filter_active_in_range(df, lo, hi) that selects the rows where the integer 'age' column is within the inclusive range [lo, hi] and the boole...

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

Sort a Pandas DataFrame by Multiple Columns with Mixed Order

Implement def sort_multi(df: pd.DataFrame) -> pd.DataFrame for a DataFrame with the columns dept (str), salary (int) and name (str). Sort by dept asce...

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

Merge Sales and Targets on Two Keys in Pandas

Implement merge_on_two_keys(sales, targets) in pandas. sales has the columns region (str), year (int) and revenue (float). targets has the columns reg...

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

NumPy View vs Copy Semantics

Given a 1-D NumPy array, write split_view_copy(arr) that returns a tuple (view, copy). The grader mutates the input afterward and asserts view reflect...

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

Vectorized Pairwise Euclidean Distance Matrix in NumPy

Implement pairwise_distances(A, B) where A has shape (n, d) and B has shape (m, d). Return the (n, m) matrix D where D[i, j] is the Euclidean distance...

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

Vectorized Insertion Indices in a Sorted NumPy Array

Given a sorted 1-D array a and a 1-D array queries, return an integer array (same length as queries) giving, for each query, the count of elements in ...

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

Vectorize Cauchy Matrix With Broadcasting

Implement cauchy(x, y) for 1-D arrays x (length m) and y (length n). Return the (m, n) Cauchy matrix C[i, j] = 1 / (x[i] - y[j]) using pure NumPy broa...

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

Matrix Power With np.linalg.matrix_power

Write mat_power(A, n) that returns the square matrix A raised to the integer power n using true matrix multiplication (not elementwise). Delegate to n...

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

Matrix Inverse With np.linalg.inv

Write inverse(A) that returns the inverse of an invertible square NumPy array A using np.linalg.inv. The result must satisfy A @ inverse(A) equal to n...

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

Matrix Determinant With np.linalg.det

Write determinant(A) that computes the determinant of a square 2-D array-like A (a list of lists or an np.ndarray) using np.linalg.det. Return a scala...

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

Linear Interpolation With np.interp

Implement interpolate(x, xp, fp), which linearly interpolates a function sampled at the points xp with values fp and evaluates it at the query points ...

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

Compare lbfgs and newton-cholesky on the Same L2 Logistic Regression Objective

Implement solver_agreement(X_train, y_train, X_test) that fits two binary logistic regression models identical except for solver and returns each mode...

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

Softmax of decision_function Equals predict_proba for Multinomial Logistic Regression

Implement proba_from_decision(X: np.ndarray, y: np.ndarray) -> np.ndarray. Fit LogisticRegression(solver='lbfgs', max_iter=1000, tol=1e-6, C=1.0, clas...

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

Softmax Loss and Gradient From Scratch for Multinomial Logistic Regression

Implement softmax_gradient(W, X, y) -> (loss, grad) for multinomial logistic regression using NumPy only, without sklearn. - W has shape (n_features, ...

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

Compute precision and recall at a probability threshold

Implement precision_recall_at_threshold(y_true, y_proba, threshold). y_true is a 1-D int ndarray of 0/1 labels and y_proba is a 1-D float ndarray of p...

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

Logistic Regression Log-Probability Matrix With predict_log_proba

Implement log_proba_matrix(X_train, y_train, X_test) that fits a binary LogisticRegression on the training data and returns model.predict_log_proba(X_...

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

Fit a Binary Logistic Regression and Return Test Accuracy

Implement fit_and_score(X_train, y_train, X_test, y_test) that trains a binary LogisticRegression (from sklearn.linear_model) and returns model.score(...

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

Find the cost-optimal classification threshold from an ROC curve

Write expected_cost_curve(y_true, y_proba, cost_fp, cost_fn) that returns (best_threshold, min_cost) as two Python floats: the threshold that minimize...

Machine LearningModel EvaluationML Coding
0
0
0 people solved
Nov 25, 2026
PracHub logo
General
Easy
DSData Scientist

Compute confusion matrix counts from predicted probabilities at a threshold

Implement confusion_counts_at_threshold(y_true, y_proba, threshold). Given positive-class probabilities y_proba (1-D float, shape (n,)) and labels y_t...

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

Compute per-sample clipped log loss for confidently wrong predictions

Implement confident_wrong_losses(y_true, y_pred, eps=1e-15) so that it returns the per-sample clipped binary log-loss vector. y_true is a 0/1 array of...

Machine LearningML CodingModel Evaluation
0
0
0 people solved
Nov 25, 2026
Previous1...105110521053...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