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
50
Companies
1.1k
Updated
11.28.2026
50 Questions 1.1k Companies11.28.2026
50 Questions1.1k CompaniesUpdated 11.28.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 50 results
Box logo
Box
Medium
DSData Scientist

Average File Size and File Count per User per Billing Period

A file storage service records its users, its billing periods and every file a user uploads. For every user and every billing period, compute the aver...

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

What file sizes does Snowflake recommend for data loading, and why do they matter for performance and cost?

What are Snowflake's recommendations for file sizing when loading data, and why is this important for performance and cost? `hint Think about parallel...

Data Manipulation (SQL/Python)Data Ingestion & CDCStorage Formats & Partitioning
0
0
2 people solved
Nov 24, 2026
Box logo
Box
Easy
DSData Scientist

List every user folder permission with the files in that folder

A file storage service keeps its metadata in four tables: users, folders, the files inside each folder, and the permissions that give a user access to...

Data Manipulation (SQL/Python)SQL
0
0
6 people solved
Nov 24, 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
34
0
326 people solved
Dec 25, 2025
The Trade Desk logo
The Trade Desk
Medium
SWESoftware Engineer

Implement a Cloud Storage Service

Implement an in-memory cloud storage system. Build the class incrementally; later levels must preserve all behavior from earlier levels. File names ar...

Coding & Algorithms
19
0
138 people solved
Apr 10, 2026
O
Others
Easy
DSData Scientist

Return the largest file size in a directory

Problem (Bash / File System) Implement a Bash function (or shell snippet) that returns the maximum file size (in bytes) under a given directory. Requi...

Coding & AlgorithmsOperating Systems
10
0
115 people solved
Jan 17, 2026
Anthropic logo
AnthropicCoinbase

Also asked at Coinbase

Medium
SWESoftware Engineer

Design an in-memory cloud storage service with per-user quotas, LRU eviction and compression

Design an in-memory cloud storage service that supports multiple users, each with a per-user storage quota. Users can upload files with a given size, ...

Software Engineering FundamentalsData Structure DesignLinked Lists
0
0
11 people solved
Nov 25, 2026
eBay logo
eBay
Medium
SWESoftware Engineer

Implement an In-Memory File System

Design an in-memory file system that supports file management, search, user ownership, capacity limits, copying, and compression. Each file has a uniq...

Coding & Algorithms
15
0
122 people solved
Mar 19, 2026
Intel logo
Intel
Easy
DSData Scientist

List satellite images with valid coordinates joined to their sensors, newest first

An imagery pipeline writes one metadata row per captured satellite image to satellite_images, and each row references the sensor that captured it in s...

Data Manipulation (SQL/Python)SQL
0
0
5 people solved
Nov 24, 2026
Anthropic logo
Anthropic
Medium
SWESoftware Engineer
Locked

Scale Duplicate File Detection

This question evaluates system-design, performance-diagnosis, and distributed-systems competencies, focusing on identifying bottlenecks through measur...

System DesignFile & Media StorageFault Tolerance & Failover
54
0
682 people solved
May 9, 2026
Atlassian logo
AtlassianUber

Also asked at Uber

Medium
SWESoftware Engineer

Design a file collections tracker with total size and top K collections by size

Design a system that tracks files and their membership in collections. Each file has a unique name, a size (in bytes), and can belong to zero or more ...

Software Engineering FundamentalsData Structure DesignSorting
0
0
4 people solved
Nov 25, 2026
Meta logo
Meta
Medium
SWESoftware Engineer

Design an in-memory cloud file system

In-Memory Cloud File System (OOD) Design an in-memory cloud file system that supports files owned by users with storage quotas. Data model / rules - E...

Coding & Algorithms
10
0
78 people solved
Feb 11, 2026
Box logo
BoxBoyleSports

Also asked at BoyleSports

Easy
DSData Scientist

Find the top 10 users by total storage uploaded in a 30-day window

Find the top 10 users by total uploaded storage for files with uploaded_at in the half-open window ['2024-01-01', '2024-01-31'). Return user_id, usern...

Data Manipulation (SQL/Python)SQL
0
0
4 people solved
Nov 24, 2026
Coinbase logo
Coinbase
Medium
SWESoftware Engineer

Design cloud storage system

Design cloud storage system In-Memory Cloud Storage: Design and Implement You are asked to design and implement an in-memory cloud storage system that...

System DesignLow-Level Design (OOP)
85
0
379 people solved
Jul 29, 2025
Dropbox logo
Dropbox
Easy
DSData Scientist

Find power users who uploaded more than 500 MB in a 30-day window

Find the power users of a file storage service: users whose total uploaded file size from 2024-01-01 to 2024-01-30 (both days inclusive) is strictly g...

Data Manipulation (SQL/Python)SQL
0
0
3 people solved
Nov 24, 2026
Google logo
Google
Medium
SWESoftware Engineer
Locked

Compute Entity Size and Validate a Hierarchical File System

Compute the total size of a file or directory, then define and audit a valid hierarchical filesystem. The solution covers iterative traversal, cycle d...

Software Engineering Fundamentals
11
0
115 people solved
Aug 30, 2026
Meta logo
Meta
Easy
SWESoftware Engineer

Implement Multi-Level In-Memory Services

Implement the following independent multi-level in-memory service simulations. In an interview, you may receive one scenario and unlock the levels seq...

Coding & Algorithms
9
0
107 people solved
Apr 4, 2026
Meta logo
Meta
Hard
SWESoftware Engineer

Design an in-memory cloud storage system

In-Memory Cloud Storage Service (Take-home) Design and implement an in-memory cloud storage service that maps files (objects) to their metadata. The s...

System DesignLow-Level Design (OOP)Data Structure Design
24
0
328 people solved
Sep 6, 2025
Ramp logo
Ramp
Hard
SWESoftware Engineer

Design an in-memory cloud storage system

Design an in-memory cloud storage system In-Memory Cloud Storage: Files, Discovery, Users, and Compression Context: Design an in-memory storage librar...

System DesignLow-Level Design (OOP)
38
0
518 people solved
Aug 10, 2025
Instacart logo
Instacart
Medium
SWESoftware Engineer

Implement an In-Memory File Storage System

Implement an in-memory file storage service. You need to support files identified by a unique full path string, such as "/docs/a.txt". Each file has a...

Coding & Algorithms
4
0
50 people solved
Apr 17, 2026
Google logo
Google
Medium
PMProduct Manager

Estimation Case: Sizing the Data Footprint of Media Shot on Pixel Phones

Estimate how much storage it would take to hold every photo and video that people have captured with Google's Pixel phones. Walk through your approach...

Product / Decision MakingEstimation & Market Sizing
0
0
6 people solved
Jul 22, 2024
Applied Intuition logo
Applied Intuition
Medium
SWESoftware Engineer

Find duplicate files by size

Question LeetCode 609. Find Duplicate File in System — find duplicate files using file size instead of content comparison https://leetcode.com/problem...

Coding & AlgorithmsFile & Media Storage
21
0
170 people solved
Aug 4, 2025
Duolingo logo
Duolingo
Medium
SWESoftware Engineer
Intern

Implement Cloud File Storage with User Quotas and Backups

Implement an in-memory cloud file storage system supporting four levels: file addition/removal, largest-file queries, user quotas and merges, and per-...

Coding & AlgorithmsLow-Level Design (OOP)Sorting
1
0
19 people solved
Sep 18, 2026
Box logo
Box
Easy
DSData Scientist

Rank users by total gigabytes uploaded in a 30-day window

For uploads with upload_date in ['2024-01-01', '2024-01-31') (start inclusive, end exclusive), return each user's user_id, username, and total uploade...

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

Raster vs vector formats for saving Matplotlib figures: when to use SVG or PDF versus PNG or JPEG

Describe the difference between raster and vector graphics when saving Matplotlib figures. When would you choose a vector format like SVG or PDF versu...

Data Manipulation (SQL/Python)
0
0
2 people solved
Nov 25, 2026
Databricks logo
Databricks
Medium
Backend Engineer
Senior+ Locked

Design a Distributed File System

This question evaluates design skills for large-scale distributed storage systems, testing understanding of distributed systems principles such as met...

System DesignFile & Media StorageConsensus & Replication
65
0
508 people solved
May 4, 2026
Meta logo
Meta
Medium
SWESoftware Engineer

Extend cloud file system with copy and compression

In-Memory Cloud File System V2: Copy, Capacity Updates, Compress/Decompress Design an in-memory file system with per-user quotas and additional operat...

Coding & AlgorithmsLow-Level Design (OOP)Heaps & Priority Queues
13
0
97 people solved
Feb 11, 2026
Anthropic logo
Anthropic
Medium
SWESoftware Engineer

Find Duplicate Files

Implement a file deduplication tool. You are given a root directory containing many files. Return groups of duplicate files. Two files are duplicates ...

Coding & AlgorithmsFile & Media StorageConcurrency
48
0
332 people solved
Mar 2, 2026
Dropbox logo
Dropbox
Medium
SWESoftware Engineer

Design an in-memory cloud storage system with file ownership and per-user capacity limits

Design an in-memory cloud storage system that manages files with names, sizes and optional owners. File names are unique across the system. The system...

Software Engineering FundamentalsData Structure Design
0
0
4 people solved
Nov 24, 2026
Harvey logo
Harvey
Medium
SWESoftware Engineer
Locked

Design Cloud File Storage

This question evaluates system design competency, specifically understanding storage architectures, the separation of metadata versus blob/object stor...

System DesignFile & Media StorageStorage & Sharding
45
1
447 people solved
May 2, 2026
Applied Intuition logo
Applied Intuition
Medium
SWESoftware Engineer

Design duplicate-file detection using size

You are given a large POSIX-like filesystem containing millions of files across nested directories. Design an algorithm to find groups of duplicate fi...

Coding & AlgorithmsOperating SystemsFile & Media Storage
17
1
128 people solved
Jul 31, 2025
Airbnb logo
Airbnb
Medium
SWESoftware Engineer
Locked

Implement a Capacity-Aware In-Memory File Store

Implement a capacity-aware in-memory file store spanning file operations, search, users, ownership, compression, and decompression. Follow exact capac...

Coding & AlgorithmsLow-Level Design (OOP)Data Structure Design
104
0
774 people solved
Aug 2, 2026
Google logo
Google
Hard
SWESoftware Engineer

Find maximum value in huge text file

You are given the path to a very large text file on disk. The file has the following properties: - Each line contains exactly one signed 64-bit intege...

Coding & AlgorithmsConcurrency
46
0
338 people solved
Dec 8, 2025
Spotify logo
Spotify
Medium
Backend Engineer

Design a Public Upload and Hosting Service for Playlist Cover Images

Design the backend service that lets a user attach a custom cover image to a playlist and manage it afterwards: upload a new image, replace it, or rem...

System DesignFile & Media StorageCaching
3
0
31 people solved
Jul 7, 2026
CloudKitchens logo
CloudKitchens
Medium
SWESoftware Engineer

Design an in-memory cloud storage system

Design and implement an in-memory cloud storage system that maps file paths to metadata and supports multi-user quotas. Use simple data structures; pe...

Coding & AlgorithmsData Structure DesignSorting
25
0
239 people solved
Sep 6, 2025
ByteDance logo
ByteDance
Hard
Backend Engineer
New Grad Locked

Backend Fundamentals Deep Dive: MySQL Internals, Redis, and the HTTP/HTTPS Request Lifecycle

This question tests deep backend engineering knowledge across three core domains: MySQL InnoDB internals (logging, indexing, isolation), Redis persist...

Software Engineering FundamentalsDatabase InternalsConsensus & Replication
12
0
112 people solved
Jun 15, 2026
OpenAI logo
OpenAI
Medium
SWESoftware Engineer
Locked

Design Payment Authorization, Capture, and Batch Settlement

Design a payment platform spanning low-latency authorization, later capture, and asynchronous batch settlement with external providers. Cover idempote...

System Design
8
1
122 people solved
Aug 14, 2026
Omnissa logo
Omnissa
Medium
SWESoftware Engineer
Locked

Design a Cloud File Storage and Sync Service (Google Drive)

This question asks for the end-to-end design of a cloud file storage and sync service, evaluating a candidate's grasp of distributed systems fundament...

System Design
5
0
53 people solved
Jun 11, 2026
Cresta logo
Cresta
Medium
SWESoftware Engineer

Implement an In-Memory File Storage Class with Unique IDs and Duplicate-Name Suffixes

Implement an in-memory file storage service as a single class, FileStorage, in a language of your choice. The interviewer gives only the description b...

Software Engineering FundamentalsData Structure DesignTesting & Quality
1
0
31 people solved
Oct 26, 2026
Verkada logo
Verkada
Medium
SWESoftware Engineer
Locked

Streaming Python Parser for Key-Value Log Lines with Quoted and Escaped Values

Write a Python program that streams a multi-gigabyte host log file and parses each line into a dict holding its timestamp and key-value fields. It tes...

Software Engineering FundamentalsParsing & InterpretersProgramming Languages
14
2
139 people solved
Sep 18, 2026
Anthropic logo
Anthropic
Medium
SWESoftware Engineer
Locked

How to stream a large file to 1000 hosts fastest

This question evaluates system design and distributed-systems skills, especially bandwidth and bottleneck analysis, replication and pipelining trade-o...

System DesignFile & Media StorageSystem Design Fundamentals
269
1
2620 people solved
Mar 1, 2026
Google logo
Google
Medium
PMProduct Manager

Size the Yearly Server, Disk and Accelerator Spend Behind One Google Photos Account

You are a product manager at Google. Estimate the hardware cost of supporting one Google Photos user: the machines and equipment Google needs so that ...

Product / Decision MakingEstimation & Market Sizing
0
0
7 people solved
Aug 16, 2025
Applied Intuition logo
Applied Intuition
Easy
SWESoftware Engineer

Group duplicate files by content

Problem You are given a list of files in a filesystem. Each file has: - a full path (string) - a file size in bytes (integer) - file contents (concept...

Coding & Algorithms
12
0
115 people solved
Feb 12, 2026
Amazon logo
AmazonFreshworksSplunk

Also asked at Freshworks, Splunk

Medium
SWESoftware Engineer

Design a file system find API with composable filters

Design an in-memory file system search utility. It supports adding files with metadata (name, size, extension) and searching for files with composable...

Software Engineering FundamentalsLow-Level Design (OOP)Trees
0
0
9 people solved
Nov 25, 2026
Google logo
Google
Hard
SWESoftware Engineer

Design line-preserving file chunker pipeline

System Design: Pack Text Lines into Exact 100 MB Output Files Design a data pipeline that reads many text files of varying sizes and emits output file...

System DesignETL & Data PipelinesBatch & Stream Processing
10
0
157 people solved
Sep 6, 2025
Anthropic logo
Anthropic
Medium
SWESoftware Engineer
Locked

Build a Resize-and-Rotate Image Pipeline with Multiprocessing

Design a Pillow resize-and-rotate pipeline with explicit transform semantics, bounded multiprocessing, per-image failures, and safe output publication...

Software Engineering FundamentalsFile & Media StorageConcurrency
20
0
247 people solved
Oct 5, 2026
Confluent logo
Confluent
Medium
SWESoftware Engineer

Implement tail N lines

Question Implement a utility tail(path: string, N: int) (and an equivalent stream variant) that prints the last N lines of input without loading the w...

Coding & AlgorithmsData Structure DesignOperating Systems
83
0
580 people solved
Sep 6, 2025
Anthropic logo
Anthropic
Hard
SWESoftware Engineer
Locked

Build a Progressive Cloud Storage System

Build a progressive in-memory cloud storage service with file operations, glob search, users, quotas, compression, and restoration. Handle ownership, ...

Coding & AlgorithmsLow-Level Design (OOP)File & Media Storage
15
1
286 people solved
Jul 8, 2026
Harvey logo
Harvey
Hard
SWESoftware Engineer

Determine identical files ignoring metadata

Question How would you determine whether two files contain identical bytes while ignoring all filesystem metadata? Propose and justify a hashing-based...

System DesignFile & Media StorageCryptography
102
0
711 people solved
Sep 6, 2025
Citadel logo
Citadel
Easy
SWESoftware Engineer
Intern Locked

Reduce Hashing and Safely Delete Shared File Content

Design file-content deduplication with deferred hashing, collision checks, stable shared-content identities, and reference-counted deletion.

System DesignData Structure DesignFile & Media Storage
27
1
282 people solved
Sep 3, 2026
Previous123Next
Popular Categories
SQLBlind 75
Daily Quest

Sign in to earn XP for every problem you solve.