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

Rotate a 2-D NumPy array counter-clockwise by k times 90 degrees

Implement rotate_90(a, k) that rotates a 2-D NumPy array counter-clockwise by k * 90 degrees and returns the result. A positive k rotates counter-cloc...

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

Reverse a 1-D NumPy array with slicing

Given a 1-D np.ndarray, return a new array with the elements in reverse order. Reverse it with a stepped slice (arr[::-1]). Do not use np.flip, np.fli...

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

Reshape a 1-D NumPy array into a matrix with a given number of rows

Implement reshape_to_matrix(a, rows) that reshapes a 1-D NumPy array a into a 2-D array with exactly rows rows. Pass -1 for the column dimension so Nu...

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

Return a NumPy array's shape, ndim, size, itemsize and nbytes as a tuple

Given a NumPy ndarray arr, return the tuple (shape, ndim, size, itemsize, nbytes) describing its layout: - shape is the shape as a tuple. - ndim is th...

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

Repeat each element of a NumPy array n times in a row

Write repeat_each_element(a, n) that takes a 1-D NumPy array a and integer n, and returns a new 1-D array where each element appears n times consecuti...

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

Reflect-pad a 1-D NumPy array without repeating the edge values

Implement pad_reflect(a, n) that extends a 1-D NumPy array by n reflected values on each side, mirroring around the endpoints without repeating them (...

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

Compute the best rank-k approximation of a matrix with a truncated SVD

Implement low_rank(A, k) returning the best rank-k approximation of the 2-D matrix A by truncating its SVD to the top k singular values. Requirements:...

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

Fit a least-squares polynomial with NumPy and evaluate it at new points

Implement fit_and_eval(x, y, deg, x_new) that least-squares fits a degree-deg polynomial to (x, y) with np.polyfit and returns it evaluated at x_new w...

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

Piecewise Category Codes With np.select

Implement bucketize(x). Given a NumPy array x, return a new integer array mapping each element to a category code by range, using np.select(condlist, ...

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

Per-Row Gather With np.take_along_axis

Given a 2-D array a of shape (m, n) and a 1-D integer array cols of length m (one column index per row), implement select_per_row(a, cols) returning t...

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

Per-Row Argmax Indices in NumPy

Implement argmax_per_row(arr). Given a 2-D NumPy array arr of shape (m, n), return a 1-D array of length m where element i is the column index of the ...

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

Per-Column Min-Max Scaling in NumPy

Implement minmax_columns(X) that rescales each column of a 2D NumPy array into [0, 1] via (col - col_min) / (col_max - col_min). Return a same-shape f...

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

Outer Sum Table with NumPy Broadcasting

Write outer_sum(a, b) taking 1-D arrays a (shape n) and b (shape m), returning the (n, m) array whose (i, j) entry is a[i] + b[j]. Requirements: - Com...

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

Outer Product of Two Vectors in NumPy

Write outer_product(u, v) that returns the outer product of 1D vectors u (length m) and v (length n): an (m, n) matrix where entry [i, j] equals u[i] ...

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

Order-Preserving Dedup of a NumPy Array

Given a 1-D array, return a 1-D array of its distinct values ordered by first appearance (unlike np.unique, do not sort). Requirements: - Each distinc...

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

One-Hot Encode Integer Labels via Equality Broadcasting in NumPy

Write one_hot(labels, num_classes) that turns a 1-D integer label array into an integer one-hot matrix of shape (len(labels), num_classes). Row i has ...

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

Normalize Matrix Rows to Unit L2 Length in NumPy

Implement normalize_rows(M) that takes a 2D array and returns a new array of the same shape where each row is scaled to unit L2 norm. Requirements: - ...

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

Non-Zero Indices of a 1-D NumPy Array With np.nonzero

Given a 1-D NumPy array, return the indices of its non-zero elements as a 1-D integer array. Use np.nonzero and return the first (only) element of its...

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

Sort a NumPy array ascending without mutating the input

Implement sort_ascending(a): given a 1-D np.ndarray, return a new array with its elements in ascending order. Do not mutate the input. Use np.sort, wh...

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

Convert a nested Python list to a 2-D NumPy array of a given dtype

Write to_typed_array(rows, dtype) that converts a nested Python list of numbers, where every inner list has the same length, into a 2-D NumPy array of...

Data Manipulation (SQL/Python)Pandas & Python Data
0
0
0 people solved
Nov 24, 2026
Previous1...125712581259...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