22 questions · from 7 interviews
JPMC interview questions
Every question candidates reported from their JPMC interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
JPMC coding and DSA questions
- 01
Subarray Sum Equals K
Given an array of integers nums and an integer k, return the total number of continuous subarrays whose sum equals to k.
Medium · From JP Morgan Chase ML Engineer role
- 02
Minimum Operations to Make An Anagram
Given a string, determine the minimum number of operations required to make the second half of the string an anagram of the first half. One operation consists of swapping one character with another.
Medium · From JPMC | JP Morgon | Cohort Hiring | SWE 3 | Rejected
- 03
Flipping Signs in a Subarray
Given an array and a list of queries [L, R], flip the sign of all elements in the array from index L to R. Return the final array after processing all queries.
Medium · From JPMC | JP Morgon | Cohort Hiring | SWE 3 | Rejected
- 04
Minimum Cost to Dial a String on a Circular Dial
You have a circular dial with digits 0-9 arranged in a circle. Starting at 0, you need to dial a string of digits. Each rotation (clockwise or counterclockwise) costs 1, and pressing a digit may cost 1. Calculate the minimum total cost to dial the entire…
Hard · From JPMC | JP Morgon | Cohort Hiring | SWE 3 | Rejected
- 05
Minimum Moves to Type String with Circular Dials
You are given k circular dials (each containing characters ‘A’–‘Z’) and a target string s. Initially, all dials point to ‘A’. In one move, you may rotate any one dial clockwise or counter-clockwise by one step. You can type a letter only if at least one dial…
Medium · From JPMorgan Chase & Co. | SWE 2 | Associate (Java/Python Developer) | Bangalore | Interview Experience
- 06
Sort String by Character Occurrences
Given a string, sort it based on the order of occurrences of its characters. (Medium level DSA question on Arrays)
Medium · From JPMC SDE 3 Interview Exp
- 07
OOPS and HashMap Internals
Discussion on Object-Oriented Programming concepts, followed by an in-depth exploration of HashMap internals, specifically focusing on how equal() and hashCode() methods are overridden and their importance in collections.
JPMC system design questions
- 01
Design Balance API Service
Design a Balance API service that ingests events from other APIs and accurately keeps track of user balances. Discuss various design choices and considerations.
- 02
Design a Rate Limiter
Design a system to limit the number of requests a user can make within a certain time window. The candidate discussed implementing a sliding window counter method as an approximation, but the interviewer questioned the accuracy requirements.
Hard · From JPMC | JP Morgon | Cohort Hiring | SWE 3 | Rejected
- 03
Design an End-to-End Payment Processing System
Design a complete end-to-end payment processing system. The discussion should cover requirements gathering, database schema, estimations, high-level design, and potential optimizations.
Hard · From JPMC SDE 3 Interview Exp
- 04
Kafka System Design and Internals
Detailed discussion on Kafka's internal architecture, specifically how Brokers function and maintain topics, strategies to enhance Kafka's throughput, and the role and implementation of Dead-Letter Queues (DLQs).
JPMC behavioural and HR questions
- 01
Why JPMC?
Describe your motivations for wanting to join JP Morgan Chase.
- 02
Interest in Job Description
Identify specific aspects of the job description that attracted you to apply.
- 03
Performance Issue Scenario
Describe a time when you encountered and addressed a performance issue in one of your projects.
- 04
Challenging Solo Task
Share an experience where you successfully tackled a challenging task independently within your team.
- 05
Decision-Making Between Options
Provide an example of a situation where you had to make a choice between two distinct options.
JPMC other questions
- 01
Analyze a Pull Request
Given a Pull Request, analyze the code for potential issues such as hardcoded values, insecure password handling (e.g., plain use instead of hashing), and opportunities for applying design patterns.
- 02
Synchronization, Locking & ConcurrentHashMap
Discuss basic concepts related to synchronization and locking in Java, and explain ConcurrentHashMap.
- 03
Exceptions and Runtime Exceptions
Explain the concepts of exceptions and runtime exceptions in Java.
- 04
Code Review: Account Balance Management
Review a Java class designed to store account balances in a map, with methods to update and retrieve balances after transactions.
- 05
Java Multithreading Concepts
Questions covered advanced Java multithreading topics, including the volatile keyword and its internal mechanisms, optimistic vs. pessimistic locking strategies, and the internal workings of the synchronized keyword.
- 06
Webflux and Virtual Threads
Explored Webflux internals and its integration with and implications for Virtual Threads.
JPMC interview questions FAQ
What questions are asked in JPMC interviews?
Candidates reported 22 distinct questions across 7 JPMC interviews. 7 coding and DSA questions, 4 system design questions, 5 behavioural and HR questions, 6 other questions.
How difficult are JPMC interview questions?
Of the questions candidates rated, 0% were easy, 63% medium and 38% hard.