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
32
Companies
1.1k
Updated
12.03.2026
32 Questions 1.1k Companies12.03.2026
32 Questions1.1k CompaniesUpdated 12.03.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 32 results
J.P. Morgan logo
J.P. Morgan
Medium
SWESoftware Engineer
Locked

Java Core Deep Dive: Concurrent Collections and Java 8 Features

This question evaluates a candidate's depth of knowledge of the Java standard library, covering thread-safety mechanics in concurrent collections and ...

Software Engineering Fundamentals
4
0
88 people solved
Jun 9, 2026
Roku logo
Roku
Medium
Backend Engineer
Locked

Explain concurrency and distributed fundamentals

This question evaluates understanding of concurrency and synchronization in multithreaded Java, Java hashing and equals/hashCode semantics, garbage co...

Software Engineering FundamentalsConcurrencyMemory Management
11
0
106 people solved
Feb 25, 2026
Deutsche Bank logo
Deutsche Bank
Hard
SWESoftware Engineer

Explain Java follow-ups after solving coding problem

After you implement an algorithmic solution in Java, the interviewers ask follow-up questions and request modifications. Answer/discuss (and, where re...

Software Engineering FundamentalsProgramming LanguagesCode Quality & Maintainability
18
0
132 people solved
Aug 25, 2025
Millennium logo
Millennium
Medium
SWESoftware Engineer

Explain Mutable Hash Keys in HashSet and ArrayList

A Java Point has mutable integer fields x and y, value-based equals, and hashCode() implemented with Objects.hash(x, y). Its toString() returns (x, y)...

Software Engineering FundamentalsProgramming LanguagesArrays & Strings
1
0
16 people solved
Nov 17, 2026
Antra logo
Antra
Medium
SWESoftware Engineer
Locked

Java and Object-Oriented Design Fundamentals

This question assesses mastery of software engineering fundamentals across object-oriented design, Java collections, and the Spring framework. It test...

Software Engineering Fundamentals
5
0
62 people solved
Jun 20, 2026
SoFi logo
SoFi
Medium
SWESoftware Engineer

Explain GC, singleton, and OOP principles

Answer the following Java/software-engineering fundamentals questions: 1. How does Java garbage collection work at a high level (generational GC, mark...

Software Engineering FundamentalsMemory ManagementLow-Level Design (OOP)
13
0
139 people solved
Feb 4, 2026
Antra logo
Antra
Easy
SWESoftware Engineer

Explain core Java and Spring fundamentals

Java and Spring fundamentals You are interviewing for a backend Java/Spring role. Answer the following conceptual questions: 1. Collections & data str...

Software Engineering FundamentalsProgramming LanguagesConcurrency
8
0
129 people solved
Oct 9, 2025
Akuna Capital logo
Akuna Capital
Hard
SWESoftware Engineer
Locked

Choose Between Python, Java, and C++ for a Service

Choose among Python, Java, and C++ for an API-heavy automation service, a large high-throughput business service, and a latency-sensitive component, a...

Software Engineering Fundamentals
10
0
73 people solved
Aug 1, 2026
Fidelity logo
Fidelity
Medium
SWESoftware Engineer

Solve concurrency in Java

Solve concurrency in Java How do you handle concurrency in Java? Compare threads, the Executor framework, synchronized blocks, explicit locks, atomic ...

Coding & Algorithms
9
0
72 people solved
Jul 31, 2025
State logo
State
Medium
SWESoftware Engineer
Locked

Explain Java Automatic Memory Management: Heap, Reachability and Garbage Collectors

Describe how Java manages memory automatically, from object allocation on the heap to how the JVM decides which objects are unreachable and reclaims t...

Software Engineering FundamentalsMemory ManagementProgramming Languages
2
0
25 people solved
Oct 6, 2026
OpenAI logo
OpenAI
Medium
Android Engineer
Locked

Design Android MVVM API Architecture

This question evaluates a candidate's skill in designing Android client-side MVVM architecture, testing competencies in layered decomposition, HTTP re...

System DesignAndroidMobile Architecture & Performance
24
0
175 people solved
May 23, 2026
Wells Fargo logo
Wells Fargo
Medium
SWESoftware Engineer
Senior+ Locked

Highest Salary Using Java Streams

This question tests a software engineer's practical proficiency with the Java Stream API, specifically the ability to perform aggregate operations on ...

Coding & Algorithms
2
0
41 people solved
Jun 24, 2026
Schwab logo
Schwab
Easy
Backend Engineer
Senior+ Locked

Explain Spring Dependency Injection and Choose an Injection Style

Explain how Spring creates and wires beans, then compare constructor, setter, and field injection for required and optional dependencies. The discussi...

Software Engineering Fundamentals
5
0
64 people solved
Sep 2, 2026
Citi logo
Citi
Easy
SWESoftware Engineer

Compare Stream.toList and Collectors.toList in Java

What is the difference between stream.toList() and stream.collect(Collectors.toList()) in Java? Explain how you would choose between them and how you ...

Software Engineering FundamentalsProgramming Languages
3
0
38 people solved
Oct 23, 2026
Nielsen logo
Nielsen
Medium
SWESoftware Engineer
Senior+

Spring Boot Internals and Java 21 Features Behind a Machine Coding Solution

In a machine coding round you build a small but working application in Java with Spring Boot. The coding exercise itself is not reproduced here; the r...

Software Engineering FundamentalsProgramming LanguagesConcurrency
4
0
34 people solved
May 4, 2026
Visa logo
Visa
Medium
SWESoftware Engineer
Senior+ Locked

Count Perfect Digit-Frequency Substrings

Count all digit substrings in which each distinct digit appears exactly a specified number of times. This challenge tests combinatorial bounds, compac...

Coding & Algorithms
15
0
141 people solved
Aug 3, 2026
Coinbase logo
Coinbase
Medium
SWESoftware Engineer

Implement custom iterator classes

Implement custom iterator classes In a blank coding environment (no IDE assistance, no autocomplete), implement an iterator abstraction entirely from ...

Coding & AlgorithmsData Structure DesignTesting & Quality
40
0
300 people solved
Aug 4, 2025
Apple logo
Apple
Medium
SWESoftware Engineer
New Grad

Explain Encapsulation through an Object Invariant

What is data encapsulation in Java, and how does it help keep an object valid? Give a concrete example rather than only listing private fields, getter...

Software Engineering FundamentalsProgramming LanguagesCode Quality & Maintainability
2
0
19 people solved
Mar 14, 2026
PracHub logo
General
Medium
SWESoftware Engineer

Explain Encapsulation through an Object Invariant

What is data encapsulation in Java, and how does it help keep an object valid? Give a concrete example rather than only listing private fields, getter...

Software Engineering FundamentalsLow-Level Design (OOP)Programming Languages
0
0
12 people solved
Jan 14, 2026
Okta logo
Okta
Medium
SWESoftware Engineer
Locked

Add a Paginated GET Endpoint to an Existing Java Service, Then Design Its Production DB

A practical Java coding exercise: add a new GET endpoint to an existing service by following its POST and GET handlers, test it, then add pagination. ...

Software Engineering FundamentalsAPI DesignIndexing & Query Performance
9
0
67 people solved
Sep 15, 2026
Ode logo
Ode
Easy
SWESoftware Engineer
Locked

Test-Driven Pair Programming: Grow a Java Set Class from Unit Tests

A test-driven pair-programming exercise in which you describe unit tests while the interviewer types, growing a Java set class one operation at a time...

Software Engineering FundamentalsTesting & Quality
35
0
341 people solved
Oct 10, 2026
MongoDB logo
MongoDB
Medium
SWESoftware Engineer

Design a resume search engine with an inverted index and TF-IDF ranking

Design a resume search system that lets recruiters search a collection of resumes with multi-word queries. The system should support adding documents,...

Software Engineering FundamentalsData Structure DesignSearch Relevance
4
0
36 people solved
Nov 25, 2026
Abnormal Ai logo
Abnormal Ai
Medium
SWESoftware Engineer
Locked

Extensible Security-Event Pipeline: Rule Suppression and Plugin-Based Enrichment

This question evaluates a candidate's ability to design extensible, plugin-based software architecture for a multi-tenant processing pipeline. It test...

Software Engineering Fundamentals
9
0
141 people solved
Jun 14, 2026
Google logo
Google
Medium
SWESoftware Engineer
Senior+ Locked

Build a Custom CompletableFuture: Async Primitive and Parallel Array Processing

This question evaluates a candidate's understanding of concurrency primitives, specifically the internal mechanics of future/promise abstractions such...

Software Engineering FundamentalsConcurrency
32
0
223 people solved
Jun 29, 2026
Tesla logo
Tesla
Hard
SWESoftware Engineer
Senior+ Locked

Troubleshoot Processes That Randomly Crash While Being Created on Linux Cluster Hosts

Processes scheduled onto a Linux server cluster randomly crash while being created, and the interviewer plays the system while you hunt for a planted ...

Software Engineering FundamentalsOperating SystemsDebugging
9
0
63 people solved
Sep 7, 2026
Apple logo
Apple
Easy
SWESoftware Engineer
Locked

Store Open-Hours Query: Weekdays, Split Shifts and Overnight Windows in Java

A progressive Java coding exercise that asks whether a store is open at a given time as its schedule grows from one daily window to selected weekdays,...

Software Engineering FundamentalsLow-Level Design (OOP)Code Quality & Maintainability
42
4
310 people solved
Oct 7, 2026
Amazon logo
Amazon
Hard
SWESoftware Engineer
Senior+

Return the Vertical Traversal of a Binary Tree

Return the Vertical Traversal of a Binary Tree Problem Implement verticalTraversal(nodeValues, left, right, root) -> columns. Node root is at row 0, c...

Coding & Algorithms
8
0
92 people solved
Jan 1, 2026
Socure logo
Socure
Hard
SWESoftware Engineer
Locked

Implement a Concurrent Payment Queue with Visibility Timeouts

Implement an in-memory payment queue with atomic receives, visibility timeouts, ACK races, stale-callback protection, and idempotent payment processin...

Software Engineering FundamentalsConcurrencyData Structure Design
15
0
108 people solved
Sep 5, 2026
Amazon logo
Amazon
Hard
SWESoftware Engineer

Fix a Buggy Spring Boot Movie Search Against Five Search Rules

You are given an existing Spring Boot backend that powers a movie search feature, and the search returns wrong results. The search logic is complicate...

Software Engineering FundamentalsDebuggingTesting & Quality
234
5
2204 people solved
Sep 30, 2026
Coinbase logo
Coinbase
Medium
SWESoftware Engineer

Solve restaurant path and order event tasks

You are given two independent coding tasks. Task 1: Shortest paths in a restaurant grid Context: A restaurant is represented as a 2D grid. The waiter ...

Coding & AlgorithmsDynamic ProgrammingDistributed Transactions & Idempotency
32
0
255 people solved
Dec 8, 2025
Microsoft logo
Microsoft
Medium
SWESoftware Engineer
Locked

Design Chatbot Personalization Memory

This question evaluates competency in designing per-user chatbot memory systems, including data modeling for durable memories, retrieval-augmented gen...

ML System DesignRetrieval-Augmented GenerationEmbeddings & Vector Search
18
0
171 people solved
May 7, 2026
Meta logo
Meta
Hard
MLEMachine Learning Engineer
Locked

Design an LLM-Based Coding Assistant

This question evaluates a candidate's ability to design an end-to-end machine learning system, covering model architecture, training data pipelines, e...

ML System DesignLLM ApplicationsLLM Inference & Serving
32
0
251 people solved
Jun 27, 2026
Previous12Next
Popular Categories
SQLBlind 75
Daily Quest

Sign in to earn XP for every problem you solve.