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

Solve a linear system Ax = b in NumPy without inverting the matrix

Implement solve_system(A, b) that returns the solution vector x (a NumPy array with A @ x ≈ b) of the system A x = b. Requirements: - Use np.linalg.so...

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

Select the last two columns of every second row in a NumPy array with one slice

Given a 2-D NumPy array arr, return the last two columns of every second row (rows 0, 2, 4, ...) using a single slicing expression: no Python loops or...

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

Compute a simple moving average of a 1-D NumPy array with np.convolve

Implement moving_average(a: np.ndarray, w: int) -> np.ndarray returning the length-w simple moving average of a 1-D signal. Each output element is the...

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

Shuffle the rows of a NumPy array reproducibly with a seed

Implement shuffled_rows(a: np.ndarray, seed: int) -> np.ndarray that returns a new 2-D array with the rows of a randomly permuted. Requirements: - Bui...

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

Drop a Column From a 2-D NumPy Array

Implement drop_column(a, j) that returns a new array equal to the 2-D NumPy array a with column j removed. Requirements: - Use np.delete along axis=1....

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

Diagonal Stripe Gradient: Build an i + j Grid in NumPy Without Loops

Write gradient(m, n) returning an integer NumPy array of shape (m, n) where element [i, j] equals i + j. Every anti-diagonal of the result holds one c...

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

Cyclic Array Shift With roll_array

Implement roll_array(a, k) that cyclically shifts a 1-D NumPy array a by k positions and returns a new array of the same length. Elements shifted off ...

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

Cross-Product Submatrix With np.ix_

Given a 2-D NumPy array a and 1-D integer index arrays row_idx and col_idx, return the submatrix where entry [i, j] equals a[row_idx[i], col_idx[j]]. ...

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

Convert a Logistic Regression Coefficient to Percent Change in Odds

Write percent_change_in_odds(coef: float) -> float that converts a logistic-regression coefficient (log-odds scale) into the percent change in the odd...

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

Compute the per-sample binary log-loss vector in NumPy

Implement log_loss_per_sample(y_true, y_pred) returning the unreduced per-sample log-loss vector. Entry i is -(y_ilog(p_i) + (1-y_i)log(1-p_i)) using ...

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

Compare coefficient norms of unpenalized and L2-penalized logistic regression in scikit-learn

Implement def penalized_vs_unpenalized_norm(X: np.ndarray, y: np.ndarray) -> tuple. X has shape (n_samples, n_features) (float64, already standardized...

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

Compare one-vs-rest and multinomial logistic regression probabilities in scikit-learn

Implement ovr_vs_multinomial(X: np.ndarray, y: np.ndarray) -> dict to contrast two multiclass strategies on one 3-class dataset. Fit (a) LogisticRegre...

Machine LearningSupervised Learning
0
0
0 people solved
Nov 25, 2026
General logo
General
Easy
DSData Scientist

One Newton-Raphson Step for Logistic Regression

Implement newton_step(X, y, w) from scratch (no sklearn or statsmodels). It performs exactly one Newton-Raphson update on the mean log-loss of binary ...

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

Odds Ratio for a k-Unit Change in a Logistic Regression Feature

A logistic regression model has log-odds coefficient coef for a numeric feature. Implement odds_ratio_for_k_units(coef: float, k: float) -> float, whi...

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

Convert logistic regression coefficient confidence intervals to odds-ratio intervals

Implement odds_ratio_ci(coef_ci: np.ndarray) -> np.ndarray. The input is a (k, 2) float array of log-odds coefficient confidence bounds (column 0 is t...

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

Newton-Raphson Logistic Regression Fit From Scratch

Implement fit_logistic_newton(X, y, n_iters) from scratch (no sklearn or statsmodels): a full Newton-Raphson (IRLS) training loop for binary logistic ...

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

Implement weighted least squares with the closed-form normal equation in NumPy

Implement wls_closed_form(X, y, w) using the weighted least squares (WLS) normal equation $$ \beta = (X^\top W X)^{-1} X^\top W y, \qquad W = \operato...

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

Fit OLS with numpy.linalg.lstsq and unpack all four return values

Implement lstsq_report(X, y) for a float64 X of shape (n, p) with no ones column and a float64 y of shape (n,). Form Xd = [ones, X], call np.linalg.ls...

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

Fit OLS with a two-way interaction term and return the interaction coefficient

Implement interaction_coefficient(df: pd.DataFrame) -> float. df has float columns x1, x2 and y. Fit the OLS model $$ y = b_0 + b_1 x_1 + b_2 x_2 + b_...

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

Split data, fit linear regression on the training rows, and predict the test set

Implement train_test_predict(X: np.ndarray, y: np.ndarray) -> np.ndarray. It holds out a test set, fits ordinary least squares (OLS) with an intercept...

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