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

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
  • 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
357
Companies
980
Updated
11.10.2026
357 Questions 980 Companies11.10.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
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Two-Player Three-Card Poker Simulation: Deal Hands and Decide the Winner

Write a small poker simulation for exactly two players. Deal each player three cards from a shuffled standard 52-card deck, work out which kind of han...

Software Engineering FundamentalsSimulation & State Machines
36
0
333 people solved
Oct 25, 2026
Optiver logo
Optiver
Medium
Quantitative Trader

Reason Through an Interactive Trading Game

You are playing an interactive trading game with public information, private information available to you, and quotes from several bots. At each step,...

Statistics & MathProbabilityBayesian Statistics
8
0
110 people solved
Nov 5, 2026
Shopify logo
Shopify
Medium
Software Engineer

Generate a Secret Santa Matching with Recipient Exclusions

Read participants from a CSV file, assign each person exactly one different person to give a gift to, and print the giver-to-recipient matches. Everyo...

Coding & AlgorithmsGraphsMath & Number Theory
6
0
60 people solved
Nov 5, 2026
Squarepoint logo
Squarepoint
Easy
Quantitative Researcher

Find the Probability That Three Circle Points Fit in a Semicircle

What is the probability that three points on a circle all lie within some semicircle? Derive the answer and describe a Monte Carlo check that does not...

Statistics & MathProbabilityPuzzles & Brainteasers
5
0
48 people solved
Oct 25, 2026
Waymo logo
Waymo
Medium
Data Scientist

Sample Points Uniformly from a Unit Disk

Sample Points Uniformly from a Unit Disk Write a function that takes the requested number of points, n, and returns n random two-dimensional points di...

Coding & AlgorithmsProbabilityMath & Number Theory
41
2
298 people solved
Sep 28, 2026
Anthropic logo
Anthropic
Medium
Software Engineer

Implement a fair coin using only a coin of unknown bias

You have a function biased_coin() that returns 1 (heads) with some fixed probability $p$ and 0 (tails) otherwise. Calls are independent and $p$ never ...

Statistics & MathMath & Number TheoryProbability
3
0
23 people solved
Nov 7, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer

Randomized String Multiset With Average O(1) Insert, Remove and Weighted Random Pick

Design a data structure that holds a collection of strings in which the same string may be stored several times, and that supports the following opera...

Software Engineering FundamentalsData Structure Design
14
1
153 people solved
Oct 16, 2026
LinkedIn logo
LinkedIn
Medium
Machine Learning EngineerSenior+

Weighted Die Roller from Per-Face Probabilities, with Corner Cases

Implement rolling a biased die. The die has k faces, and you are given the probability of each face as a list probs: face i should come up with probab...

Software Engineering FundamentalsMath & Number TheoryBinary Search
6
1
44 people solved
Oct 23, 2026
Anthropic logo
Anthropic
Medium
Software Engineer

Fair Coin from a Biased Coin, Uniform 1-to-n Sampler Bug, Monte Carlo with Threads

This coding exercise has four connected parts built on random number generation: a fair coin from an unfair one, a bug hunt in a sampler built on that...

Software Engineering FundamentalsMath & Number TheoryProbability
7
0
66 people solved
Oct 10, 2026
Pinterest logo
Pinterest
Medium
Machine Learning EngineerIntern

Implement Gaussian Naive Bayes Training and Prediction from Scratch

Implement a Gaussian Naive Bayes classifier from scratch, in plain Python or NumPy and without a machine learning library: training estimates per-clas...

Machine LearningML CodingSupervised Learning
6
0
59 people solved
Oct 14, 2026
Waymo logo
Waymo
Medium
Data Scientist

Compare Two Rare-Event Rates with Different Exposure

Compare Two Rare-Event Rates with Different Exposure Two versions were observed over different amounts of mileage, and each produced only a small numb...

Statistics & MathHypothesis TestingProbability
14
0
187 people solved
Sep 28, 2026
SIG (Susquehanna) logo
SIG (Susquehanna)
Medium
Quantitative Researcher

How Much Would You Stake on a Bet with Positive Expected Value?

The recruiter describes a gamble with a positive expected value and asks how much you would be willing to bet on it. The report gives no exact terms a...

Statistics & MathPuzzles & BrainteasersProbability
3
0
49 people solved
Oct 15, 2026
Citadel logo
Citadel
Medium
Software Engineer

Constant-Time Ticker Portfolio With Uniform, Weighted and Streaming Random Picks

Design and implement a portfolio of stock ticker symbols (strings such as AAPL) that supports three operations, each in constant time: - add(ticker): ...

Software Engineering FundamentalsData Structure DesignMath & Number Theory
0
2
11 people solved
Nov 6, 2026
Squarepoint logo
Squarepoint
Easy
Quantitative Researcher

Compute the Probability of Consecutive Heads in n Tosses

Find the probability that a sequence of n independent fair coin tosses contains at least one consecutive HH pair. Derive a recurrence and explain the ...

Statistics & MathProbabilityDynamic Programming
2
0
22 people solved
Oct 25, 2026
Pinterest logo
Pinterest
Medium
Machine Learning EngineerIntern

Compute Recall and FPR from Confusion Matrices to Select Classifiers

A multiple-choice question gives the confusion matrices of several binary classifiers, all evaluated on the same test set, and asks which classifiers ...

Machine LearningModel Evaluation
4
0
53 people solved
Oct 14, 2026
Affirm logo
Affirm
Hard
Software Engineer

Simulate a High-Card Deck Game for Two Players, Then N Players

Model and simulate a simple card game. Define your own classes and methods. The interviewer supplies test cases to check your code, so the design shou...

Software Engineering FundamentalsLow-Level Design (OOP)Simulation & State Machines
38
2
263 people solved
Sep 18, 2026
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Point light source on a line: sample hits, check the density, recover the source by MLE

A point light source sits at an unknown position $(p_x, p_y)$ above a one-dimensional screen: the horizontal line $y = 0$ in the plane, with $p_y > 0$...

Machine LearningML CodingSampling & Estimation
1
0
18 people solved
Oct 29, 2026
Waymo logo
Waymo
Medium
Data Scientist

Model Rare Events with a Log Link and Handle Zero Counts

Model Rare Events with a Log Link and Handle Zero Counts Explain how a log-form model can be used for rare-event data and why it may be useful. Be pre...

Statistics & MathRegression & Statistical ModelingProbability
13
0
128 people solved
Sep 28, 2026
SIG (Susquehanna) logo
SIG (Susquehanna)
Medium
Quantitative Trader

Counting Up-Right Grid Paths With No k Consecutive Moves in One Direction

A frog starts at $(0, 0)$ and wants to reach $(X, Y)$, where $X$ and $Y$ are nonnegative integers. Each move takes it one unit right or one unit up. T...

Statistics & MathDynamic ProgrammingMath & Number Theory
5
0
64 people solved
Sep 19, 2026
Mercor logo
Mercor
Medium
Software Engineer

The Worst Possible Sorting Algorithm and How to Enumerate Every Permutation

This is a verbal question from a technical screen with no coding. The interviewer asks for the worst sorting algorithm you can think of and its runnin...

Software Engineering FundamentalsSortingBacktracking & Recursion
5
0
89 people solved
Oct 10, 2026
Previous12...18Next
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