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
4.5k
Companies
982
Updated
11.21.2026
4.5k Questions 982 Companies11.21.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
Google logo
Google
Hard
SWESoftware Engineer

Find longest duplicated substring

You are given a string s consisting of lowercase English letters. A substring of s is any contiguous sequence of characters, i.e., s[i..j) for 0 ≤ i <...

Coding & AlgorithmsString AlgorithmsBinary Search
18
0
231 people solved
Dec 8, 2025
Google logo
Google
Medium
SWESoftware Engineer
Locked

Find top-k distinct elements

This question evaluates understanding of algorithms and data structures for selecting distinct top-k values and enforcing ordering constraints. It is ...

Coding & AlgorithmsHeaps & Priority Queues
32
1
225 people solved
Mar 1, 2026
Coinbase logo
Coinbase
Medium
SWESoftware Engineer

Implement cloud storage with quotas and compression

Problem Implement an in-memory cloud storage service that supports multiple users, per-user storage quotas, changing quotas with eviction, and file co...

Coding & AlgorithmsData Structure Design
33
0
320 people solved
Dec 25, 2025
Figma logo
Figma
Medium
MLEMachine Learning Engineer
Locked

Implement Layer History and Grid Counting

This question evaluates a candidate's proficiency in mutable state management and reversible operations through implementing an undo/redo layer editor...

Coding & AlgorithmsData Structure DesignGrids & Matrices
53
0
372 people solved
Mar 25, 2026
Bloomberg logo
Bloomberg
Medium
SWESoftware Engineer

Implement sliding-window timestamped average

Problem Implement a class that maintains a time-based sliding window of records and can return the average score within the current window. Requiremen...

Coding & AlgorithmsData Structure DesignStacks & Queues
14
0
203 people solved
Feb 12, 2026
Snowflake logo
SnowflakeAmazon

Also asked at Amazon

Medium
SWESoftware Engineer

Highest ID Frequency After Each Update

Highest ID Frequency After Each Update Start with an empty collection of integer IDs. You are given equally sized arrays nums and freq, describing upd...

Coding & AlgorithmsTreesArrays & Strings
1
0
21 people solved
Pinterest logo
Pinterest
Medium
SWESoftware Engineer

Implement a min-heap column allocator

You are given an integer k (number of columns) and an array posts of positive integers where posts[i] is the height of the i-th post. All columns star...

Coding & AlgorithmsHeaps & Priority QueuesData Structure Design
33
0
289 people solved
Sep 6, 2025
Affirm logo
Affirm
Easy
SWESoftware Engineer

Implement an LRU cache

Problem Design and implement an LRU (Least Recently Used) cache that supports the following operations in average O(1) time: - get(key) -> value: Retu...

Coding & AlgorithmsData Structure Design
19
1
163 people solved
Nov 6, 2025
Amazon logo
AmazonGoogleMeta

Also asked at Google, Meta, Bloomberg, Microsoft

Medium
SWESoftware Engineer

Count Subarrays Whose Values Stay Within Two

Count Subarrays Whose Values Stay Within Two You are given a 0-indexed integer array nums. Call a subarray continuous if every pair of its elements di...

Coding & AlgorithmsTwo Pointers & Sliding WindowStacks & Queues
1
0
13 people solved
Snapchat logo
Snapchat
Hard
SWESoftware Engineer

Count ways to decode digit string

You are given a string s consisting of digits '0' to '9'. The string encodes a message using the following mapping: - '1' → A, '2' → B, ..., '26' → Z....

Coding & AlgorithmsDynamic Programming
21
0
148 people solved
Dec 8, 2025
Meta logo
MetaBloombergGoogle

Also asked at Bloomberg, Google, Amazon, Microsoft

Medium
SWESoftware Engineer

Construct Every BST Shape on Consecutive Keys

Problem Construct every structurally distinct binary search tree containing exactly the keys 1 through n, each once. Return the tree roots in any orde...

Coding & AlgorithmsTreesBacktracking & Recursion
1
0
14 people solved
LinkedIn logo
LinkedIn
Medium
SWESoftware Engineer

Compute inverse-depth weighted sum of nested lists

Inverse-Depth Weighted Sum of a Nested List You are given a nested list of integers. Each element is either: - an integer, or - another nested list. D...

Coding & AlgorithmsTreesBacktracking & Recursion
30
1
194 people solved
Feb 11, 2026
Bloomberg logo
BloombergGoogleAmazon

Also asked at Google, Amazon

Hard
SWESoftware Engineer

Total Digit Waviness Across a Large Range

Problem Given integers num1 and num2, return the total waviness of all integers in the inclusive range [num1,num2]. Use the ordinary decimal represent...

Coding & AlgorithmsDynamic ProgrammingMath & Number Theory
1
0
11 people solved
Google logo
GoogleAmazonMeta

Also asked at Amazon, Meta, Microsoft, Bloomberg

Medium
SWESoftware Engineer

Maximize Binary Image Overlap by Translation

Problem Translate one n-by-n binary image horizontally and vertically by integer offsets, without rotating it. Bits moved outside the image boundary a...

Coding & AlgorithmsGrids & Matrices
1
0
16 people solved
Amazon logo
AmazonGoogleMicrosoft

Also asked at Google, Microsoft, Meta, Bloomberg, eBay, Intuit

Hard
SWESoftware Engineer

Count Earlier Values Greater Than Twice a Later Value

Count Earlier Values Greater Than Twice a Later Value Given nums, count the index pairs (i, j) satisfying both i < j and nums[i] > 2 * nums[j]. The co...

Coding & AlgorithmsSortingTwo Pointers & Sliding Window
0
0
6 people solved
Amazon logo
AmazonGoogleMeta

Also asked at Google, Meta, Bloomberg, Microsoft

Medium
SWESoftware Engineer

Decide Whether an Integer Is a Sum of Two Squares

Problem Return whether nonnegative c equals a × a + b × b for some integers a,b. Zero is allowed for either integer. `cpp class Solution { public: ...

Coding & AlgorithmsMath & Number TheoryTwo Pointers & Sliding Window
1
0
13 people solved
Google logo
Google
Medium
SWESoftware Engineer
New Grad Locked

Find the Most Frequent IP Addresses in a File Too Large for Memory

Design an exact, bounded-memory method for finding the most frequent IP addresses in a file far larger than RAM. Analyze memory and disk-I/O trade-off...

Software Engineering FundamentalsSorting
12
0
101 people solved
Jun 17, 2026
Upstart logo
Upstart
Medium
DSData Scientist

Analyze HT vs HH stopping-time probabilities

Coin-Flip Stopping Game: HT vs HH You repeatedly flip a coin until either the pattern HT appears (Player A wins) or the pattern HH appears (Player B w...

Statistics & MathProbabilitySimulation & State Machines
11
0
204 people solved
Oct 13, 2025
Affirm logo
Affirm
Medium
SWESoftware Engineer

Determine winner in optimal-play card game

Determine winner in optimal-play card game Given a row of N cards with integer values (values may be positive, zero, or negative), two players alterna...

Coding & AlgorithmsDynamic Programming
38
2
303 people solved
Jul 15, 2025
Amazon logo
AmazonGoogleMicrosoftMeta

Also asked at Google, Microsoft, Meta

Easy
SWESoftware Engineer

Count Odd Integers in an Inclusive Range

Problem Return how many odd integers lie between nonnegative low and high,inclusive. `cpp class Solution { public: int countOdds(int low, int high...

Coding & AlgorithmsMath & Number Theory
1
0
14 people solved
Previous1...138139140...224Next
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