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 10,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Green Card Tracker
  • Premium
  • Practice with AI agents
  • For Universities

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
836
Updated
10.30.2026
50 Questions 836 Companies10.30.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
J.P. Morgan logo
J.P. Morgan
Medium
Software 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
82 people solved
Jun 9, 2026
Antra logo
Antra
Medium
Software 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
4
0
53 people solved
Jun 20, 2026
Cibc logo
Cibc
Easy
Software Engineer

Self-Introduction, Why This Role, Two Strengths and a Weakness, and a Java Self-Rating

On a short screening call for a software engineer position that involves Java, the recruiter asks a sequence of standard questions, then probes how st...

Behavioral & LeadershipSelf-Awareness & GrowthMotivation & Fit
2
0
15 people solved
Sep 21, 2026
Nielsen logo
Nielsen
Medium
Software EngineerSenior+

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
2
0
16 people solved
May 4, 2026
Wells Fargo logo
Wells Fargo
Medium
Software EngineerSenior+ Locked

Java, Spring & Kafka Fundamentals Deep-Dive

This question tests depth of knowledge across core Java, Spring Boot, and Kafka fundamentals commonly required for senior backend engineering roles. I...

Software Engineering FundamentalsLow-Level Design (OOP)Messaging & Event-Driven
39
0
514 people solved
Jun 24, 2026
Antra logo
Antra
Easy
Software 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
7
0
118 people solved
Oct 9, 2025
Disney logo
Disney
Easy
Data EngineerSenior+

Prompting an LLM to Migrate a Java Codebase to Python and Clean a Large Database

Your team wants to use a large language model (LLM) to speed up two pieces of data engineering work: 1. migrating an entire codebase from Java to Pyth...

Software Engineering FundamentalsAI-Assisted DevelopmentData Cleaning & Wrangling
1
0
20 people solved
Aug 31, 2026
StackAdapt logo
StackAdapt
Easy
Software Engineer

Explain hash collisions and Java HashMap complexity

Explain hash collisions and Java HashMap complexity in a software engineering interview. Cover how hashing works, what a collision is, how a hash tabl...

Software Engineering FundamentalsData Structure DesignProgramming Languages
16
0
165 people solved
Mar 4, 2025
Goldman Sachs logo
Goldman Sachs
Medium
Software Engineer

Highest Average Student Score: Out-of-Memory Input, Overflow and Thread Safety in Java

Given a list of exam results, each a pair of a student's name and an integer score, return the highest average score of any student, rounded down to a...

Software Engineering FundamentalsConcurrencyArrays & Strings
2
0
24 people solved
Oct 5, 2026
Visa logo
Visa
Medium
Software Engineer

Java Fundamentals: Polymorphism and Monolith Versus Microservices

This round opened with Java fundamentals. Two of the questions were reported: explain polymorphism, and compare a monolithic architecture with microse...

Software Engineering FundamentalsProgramming LanguagesMicroservices & Service Architecture
5
0
44 people solved
Sep 27, 2026
Wells Fargo logo
Wells Fargo
Medium
Software EngineerSenior+ 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
1
0
36 people solved
Jun 24, 2026
Mercor logo
Mercor
Medium
Software Engineer

Debug a Java CSV Export Function for Output and Performance Bugs

You are given a small Java utility that turns a table of string fields into CSV text for another system to import, and it is used for large exports. F...

Software Engineering FundamentalsDebuggingProgramming Languages
2
0
24 people solved
Oct 4, 2026
Deutsche Bank logo
Deutsche Bank
Hard
Software 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
17
0
122 people solved
Aug 25, 2025
Mercor logo
Mercor
Medium
Software Engineer

Code Review: Improve a Java Method That Builds a CSV String

The interviewer shows the following Java method and asks what improvements you would make. There is no coding in this round: explain the problems you ...

Software Engineering FundamentalsCode Quality & MaintainabilityProgramming Languages
11
0
79 people solved
Oct 10, 2026
NVIDIA logo
NVIDIA
Medium
Software Engineer

Compare Java and Python: Execution, Typing, Concurrency and When to Use Each

Compare Java and Python. How do the two languages differ, and where is each one stronger or weaker? This was one of several open-ended topics in a con...

Software Engineering FundamentalsProgramming LanguagesConcurrency
0
0
12 people solved
Oct 1, 2026
Okta logo
Okta
Medium
Software Engineer

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

In a practical coding exercise on an online coding platform, you work inside a small existing service written in Java. The service already has a POST ...

Software Engineering FundamentalsAPI DesignIndexing & Query Performance
5
0
39 people solved
Sep 15, 2026
Schwab logo
Schwab
Easy
Java DeveloperSenior+ 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
4
0
52 people solved
Sep 2, 2026
Pinduoduo logo
Pinduoduo
Medium
Software Engineer Locked

Trace Java Static and Instance Field Initialization

Consider a Java class with static fields a and c, an instance field b, and this initialization: c = 2; the constructor executes a++, b++, and c++. Mak...

Software Engineering Fundamentals
3
0
29 people solved
Jul 27, 2026
WeRide logo
WeRide
Medium
Software Engineer

Explain Java concurrency and fix i++ race

Java 1. Java - ThreadRunnable/Callable - Java Memory Model - volatilesynchronizedLockAtomic* 2. i++ “/lost update” 3. - i++ - 4. > ...

Software Engineering Fundamentals
7
0
54 people solved
Oct 2, 2025
TikTok logo
TikTok
Medium
Software Engineer

Explain Java ConcurrentHashMap and queues

An interviewer asks you conceptual questions about Java's concurrency primitives. Explain in detail: 1. How Java's ConcurrentHashMap is implemented in...

Software Engineering Fundamentals
4
0
71 people solved
Nov 16, 2025
PayPal logo
PayPal
Medium
Software Engineer

Explain Java volatile semantics

Explain Java volatile semantics What does the volatile keyword guarantee in Java's memory model? Describe visibility, ordering (happens-before), and r...

Coding & Algorithms
5
0
70 people solved
Aug 7, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Implement iterators and write tests in Java

Implement iterators and write tests in Java In Java, write everything from scratch (no IDE scaffolding): 1) Define a generic Iterator<T> interface wit...

Coding & AlgorithmsProgramming LanguagesLow-Level Design (OOP)
12
0
147 people solved
Jul 31, 2025
Fidelity logo
Fidelity
Medium
Software Engineer

Describe Java 8 features

Describe Java 8 features What are the key new features introduced in Java 8? Explain when and how you would use lambda expressions, the Stream API, Op...

Coding & Algorithms
6
0
57 people solved
Jul 31, 2025
Fidelity logo
Fidelity
Medium
Software 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
8
0
64 people solved
Jul 31, 2025
Apple logo
Apple
Easy
Software Engineer

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

A store needs a query that reports whether it is open at a given time. The interviewer builds the problem up in steps, and each step makes the store's...

Software Engineering FundamentalsLow-Level Design (OOP)Code Quality & Maintainability
22
3
163 people solved
Oct 7, 2026
Ode logo
Ode
Easy
Software Engineer

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

This screen is a test-driven pair-programming session. You do the thinking and talking; the interviewer does the typing. Together you build a set clas...

Software Engineering FundamentalsTesting & Quality
16
0
156 people solved
Oct 10, 2026
Mercor logo
Mercor
Medium
Software Engineer

Code Review: Partial Failure in a Java Payment Method That Charges Then Records

The interviewer shows the following Java service, which charges a user through an external payment provider and then records the payment in a database...

Software Engineering FundamentalsDistributed Transactions & IdempotencyPayments & Ledgers
23
0
178 people solved
Oct 10, 2026
Revolut logo
Revolut
Medium
Software Engineer

Build a Java restaurant table booking service that prevents double bookings

In a timed live coding session you build a working restaurant booking system in Java. You share your screen from your own IDE and you may use an AI co...

Software Engineering FundamentalsLow-Level Design (OOP)Intervals & Scheduling
6
0
55 people solved
Jun 30, 2026
Oracle logo
Oracle
Medium
Software EngineerSenior+ Locked

Explain Java String Storage and Construction Choices

Explain Java string pooling, literals, explicit new String construction, interning, immutability, equality, and object identity. Compare compile-time ...

Software Engineering Fundamentals
3
0
30 people solved
Aug 21, 2026
State logo
State
Medium
Software Engineer

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

Describe how automatic memory management works in Java. This was asked in a recorded video assessment, so prepare a structured spoken answer that stan...

Software Engineering FundamentalsMemory ManagementProgramming Languages
1
0
16 people solved
Oct 6, 2026
Akuna Capital logo
Akuna Capital
Hard
Software 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
8
0
65 people solved
Aug 1, 2026
Pinduoduo logo
Pinduoduo
Hard
Software EngineerSenior+ Locked

Trace Java Static and Instance State Across Constructors

Explain Java static and instance field state across constructor calls, including initialization, shared values, copied values, and object references.

Software Engineering FundamentalsProgramming Languages
2
0
20 people solved
Aug 22, 2026
Tesla logo
Tesla
Medium
Software Engineer Locked

Discuss Distributed-System Experience with Go, Java, Spark, and Elasticsearch

Explain distributed-system project ownership, data flow, technology choices, and operational lessons using honest Go, Java, Spark, or Elasticsearch ex...

Software Engineering FundamentalsProject Deep Dive
1
0
33 people solved
Sep 1, 2026
Snowflake logo
Snowflake
Medium
Software Engineer

Most Frequent k Words or Bestselling Titles with Alphabetical Tie-Breaks

Given a list of items, such as the words in a stream of text (the hot words) or the book titles in a list of sales (the bestsellers), return the k ite...

Coding & AlgorithmsHeaps & Priority QueuesSorting
3
0
25 people solved
Apr 28, 2026
Microsoft logo
Microsoft
Medium
Software Engineer Locked

Explain Python, Java, and Memory Management

This question evaluates understanding of programming language concepts and runtime behavior—covering typing disciplines, runtime models, performance a...

Software Engineering Fundamentals
6
0
50 people solved
Feb 22, 2026
Bilt Rewards logo
Bilt Rewards
Medium
Software Engineer

Debug and Fix Failing Unit Tests in Java

You receive a small Java project for a credit-card rewards service with three failing unit tests: calculatesTriplePointsForRestaurants, returnsUnknown...

Coding & Algorithms
15
0
188 people solved
Sep 6, 2025
Databricks logo
Databricks
Medium
Software Engineer

Design a generic key-value store

Design a Generic, Type-Safe Key-Value Store API Context You're asked to design a reusable key-value store with a generic, user-friendly API. The store...

System DesignKey-Value StoresConcurrency
49
0
514 people solved
Sep 6, 2025
TikTok logo
TikTok
Medium
Software Engineer

Explain Java DI, AOP, and transactions

Explain how dependency injection and AOP proxies are implemented in a modern Java framework such as Spring: bean lifecycle (creation, post-processing,...

Coding & Algorithms
7
0
49 people solved
Jul 17, 2025
LinkedIn logo
LinkedIn
Medium
Software Engineer

Differentiate Java final, finalize, finally

Differentiate Java's final, finalize, and finally. Define what final means for variables, methods, and classes and give examples; explain what finaliz...

Coding & AlgorithmsProgramming Languages
11
0
102 people solved
Sep 6, 2025
Schwab logo
Schwab
Easy
Java DeveloperSenior+ Locked

Review a Spring REST Controller for Correctness and Per-Request Waste

Review a Spring REST controller by tracing success and failure paths, HTTP semantics, validation, and service boundaries. The answer examines centrali...

Software Engineering Fundamentals
3
0
44 people solved
Sep 2, 2026
Visa logo
Visa
Medium
Software Engineer I Locked

Explain HashMap and ConcurrentHashMap Internals

Explain contemporary Java HashMap internals, including hashing, buckets, collision chains, treeification, resizing, and retrieval. Then contrast its c...

Software Engineering Fundamentals
2
0
34 people solved
Aug 8, 2026
Meta logo
Meta
Medium
Software Engineer

Determine if subarray sums to target

You are given an array of non-negative integers and a non-negative integer target. Determine whether there exists a contiguous subarray (continuous se...

Coding & Algorithms
13
0
105 people solved
Nov 11, 2025
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
103 people solved
Feb 25, 2026
Luma AI logo
Luma AI
Hard
Software Engineer Locked

Implement Refactoring Assessment Features

This question evaluates proficiency in implementing spec-driven algorithms and data structures in Java, covering route reconstruction (directed graph/...

Coding & Algorithms
3
0
27 people solved
May 25, 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
21
0
152 people solved
May 23, 2026
Reddit logo
Reddit
Medium
Software Engineer Locked

Merge Message Context Windows

This question evaluates a candidate's skill in designing efficient algorithms and appropriate data-structure use for merging overlapping message conte...

Coding & AlgorithmsIntervals & Scheduling
33
1
271 people solved
Jan 23, 2026
Apple logo
Apple
Medium
Software Engineer Locked

Explain Runnable vs Callable and thread-safe Singleton

This question evaluates a candidate's knowledge of Java concurrency and design patterns, specifically distinctions between Runnable and Callable, mech...

Software Engineering FundamentalsConcurrencyProgramming Languages
18
0
151 people solved
Jan 17, 2026
PayPal logo
PayPal
Medium
Software Engineer

Explain HashMap internals and collisions

Explain HashMap internals and collisions In Java, describe the underlying data structures used by HashMap (e.g., array of buckets, linked lists vs tre...

Coding & AlgorithmsProgramming Languages
8
0
90 people solved
Aug 7, 2025
Fidelity logo
Fidelity
Medium
Software Engineer

Review tech stack and best practices

Review tech stack and best practices Take-home Technical Questionnaire (System Design & Engineering) Context As part of a take-home technical screen f...

System Design
29
0
82 people solved
Aug 4, 2025
TikTok logo
TikTok
Medium
Software Engineer

Implement and compare key design patterns

Implement and compare key design patterns Implement Core GoF Patterns in Java and Discuss Trade-offs Context You are designing a small Java library an...

Software Engineering Fundamentals
9
0
68 people solved
Jul 17, 2025
Previous123Next
Popular Categories
SQLBlind 75
Daily Quest

Sign in to earn XP for every problem you solve.