JPMorgan Interview Questions
8 questions · Updated Oct 2026
JPMorgan Chase is the largest US bank, spanning investment banking, consumer banking, asset management, and large-scale technology operations. Software engineering interviews feature data-structures and algorithms coding, SQL, systems and system-design questions, plus behavioral rounds on ownership and communication.
Questions are pooled and anonymized from real interviews; the prep notes are our own - never anyone's actual answers.
- 1
This is the classic 'Two Sum': given an array of integers and a target, return the indices of the two numbers that add up to the target. Discuss your time and space tradeoffs.
TechnicalThe brute-force pair scan is O(n^2); the expected answer uses a hash map of value to index in a single pass for O(n) time and O(n) space, checking for target minus the current value as you go. Talk through edge cases (duplicates, no solution, negative numbers) and state the complexity tradeoff explicitly. They want clean reasoning and correct edge handling, not just the optimal trick.
Software Engineer
- 2
Write a SQL query to find the second-highest salary in an employees table, handling ties and the case where no second salary exists.
TechnicalA clean approach uses DISTINCT with a subquery (max salary below the overall max) or a window function like DENSE_RANK to pick rank 2. Address ties explicitly (DISTINCT or DENSE_RANK) and return NULL gracefully when there's no second value. They probe whether you think about correctness on edge cases, not just the happy path.
Software Engineer
- 3
Explain the difference between a process and a thread, and when you'd choose multithreading versus multiprocessing in a transaction-processing system.
TechnicalProcesses have isolated memory; threads share the process's memory, which makes threads lighter but requires synchronization and risks race conditions. Choose threads for I/O-bound shared-state work and processes for isolation or CPU-bound parallelism (and mention the GIL if the language is Python). Tie it back to reliability concerns in financial systems: isolation limits blast radius, but shared state needs careful locking.
Software Engineer
5 more JPMorgan questions
Create a free account to see every question and how to approach it - plus live answers during your real interview.
Sign up free to see allShow up to your JPMorgan interview ready
InterviewEar listens on a second device and quietly suggests what to say, the moment a question lands - drawing on your resume and the role. Open it beside your call and stay present.
Start free