JP Morgan interview questions

308 questions from 60 candidate reports · 2017 to 2024

Online test → Technical → Technical → HR

DSA

Showing 17 of 141 reported in this area

Given a binary string, count the number of substrings that start and end with 1
asked 2×easyPractice this →
Maximise Pair Count
asked oncemediumPractice this →
Count Binary Substrings
asked oncemediumPractice this →
Detect a cycle in a graph.
asked oncemediumPractice this →
Discover the nth prime number.
asked oncemediumPractice this →
Solve the Josephus problem (modified variant).
asked oncemediumPractice this →
Job Sequencing Problem with Deadlines and Profits
asked oncemediumPractice this →
Explain the Bellman-Ford algorithm and its use cases.
asked oncemediumPractice this →
Merge overlapping intervals given a list of intervals
asked oncemediumPractice this →
Merge overlapping intervals given a collection of intervals.
asked oncemediumPractice this →
Find the maximum sum k x k sub-matrix in a given n x n matrix
asked oncemediumPractice this →
Find whether there is a path between two given cells in a matrix.
asked oncemediumPractice this →
Given a collection of intervals, merge all overlapping intervals.
asked oncemediumPractice this →
Find the next permutation (next larger number) of a given sequence.
asked oncemediumPractice this →
Explain AVL tree and demonstrate insertion of elements from 1 to 10.
asked oncemediumPractice this →
Print a given matrix in spiral form (including non-square matrices).
asked oncemediumPractice this →
Given an array, sort it without using any built-in sorting functions.
asked oncemediumPractice this →

CS fundamentals

Showing 29 of 139 reported in this area

Explain the Naive Bayes algorithm.
asked 2×mediumPractice this →
Explain Support Vector Machines (SVM).
asked 2×mediumPractice this →
Explain the difference between an exception and an error in Java.
asked 2×easyPractice this →
Explain Machine Learning in very simple and intuitive terms so that a non-technical person can understand it.
asked 2×easyPractice this →
How does Gradient Boosting work?
asked oncemediumPractice this →
Explain the B-Tree data structure.
asked oncemediumPractice this →
Explain the DBSCAN clustering algorithm.
asked oncemediumPractice this →
What are the new features introduced in HTML5?
asked oncemediumPractice this →
What steps should you take to fix data biases?
asked oncemediumPractice this →
Explain decorators in Python. How do they work?
asked oncemediumPractice this →
Explain the K-Nearest Neighbors (KNN) algorithm.
asked oncemediumPractice this →
Explain Support Vector Machines and soft-margin SVMs.
asked oncemediumPractice this →
What is the use of interceptors in Java applications?
asked oncemediumPractice this →
Why does logistic regression require feature scaling?
asked oncemediumPractice this →
Explain the concept of regression in Machine Learning.
asked oncemediumPractice this →
Explain the working and internal structure of a hash map.
asked oncemediumPractice this →
Explain basic graph data structures and their applications
asked oncemediumPractice this →
Explain call and put options with an example or case study.
asked oncemediumPractice this →
Write a SQL query to delete duplicate records from a table.
asked oncemediumPractice this →
How would you describe map-reduce programming to a developer?
asked oncemediumPractice this →
Is multiple inheritance a good practice? If not, explain why.
asked oncemediumPractice this →
Explain the difference between shallow copy and deep copy in C++.
asked oncemediumPractice this →
Write a SQL query to find the second highest salary from a table.
asked oncemediumPractice this →
Explain deep learning and discuss CNN layers and their parameters.
asked oncemediumPractice this →
How does a priority queue work and what are its time complexities?
asked oncemediumPractice this →
What are profilers, and how can they be used or implemented in Java?
asked oncemediumPractice this →
Explain deep learning concepts and parameters involved in CNN layers.
asked oncemediumPractice this →
How do ridge regression and lasso regression differ from one another?
asked oncemediumPractice this →
How do you handle exceptions thrown during the call of a constructor?
asked oncemediumPractice this →

Behavioural

Showing 3 of 36 reported in this area

Describe something you learned from a recent mistake.
asked 2×easyPractice this →
How would you explain a subject to a friend who is struggling to understand it?
asked onceeasyPractice this →
How would you handle a situation where you are unable to communicate effectively?
asked onceeasyPractice this →

Aptitude

Showing 3 of 19 reported in this area

Calculate the square root of one billion mentally.
asked oncemediumPractice this →
How many times should a fair dice be rolled to get a 3?
asked oncemediumPractice this →
If a fair coin is flipped 10 times, what is the expected number of occurrences of "HH"?
asked oncemediumPractice this →

System design

Showing 5 of 19 reported in this area

Design a restaurant management system.
asked oncemediumPractice this →
How do you design a REST API to make it secure?
asked oncemediumPractice this →
How can you perform asynchronous REST API calls in Java?
asked oncemediumPractice this →
Design appropriate class structures for a notepad-like application.
asked oncemediumPractice this →
How would you design a system to tally votes from election ballots?
asked oncemediumPractice this →

Puzzles

Showing 3 of 10 reported in this area

How can you measure exactly 45 minutes using two identical wires?
asked oncemediumPractice this →
You are given two hourglasses that measure 7 minutes and 4 minutes respectively. How can you measure exactly 9 minutes using them?
asked oncemediumPractice this →
Given 10 bags of coins where one bag contains fake coins of different weight, how do you identify the fake bag using a weighing scale?
asked oncemediumPractice this →

Showing 60 of 308 questions. Ranked by how often the same question came back across reports.

Practise a JP Morgan-style interview

A spoken interview built from these questions, scored when you finish; the report is yours.

Start practising

Common questions

What questions does JP Morgan ask?

Candidate interview reports most often cover DSA (39%) and CS fundamentals (38%).

How many rounds does JP Morgan interview have?

Candidate interview reports show an average of 3.0 rounds per experience, with a typical sequence of Online test → Technical → Technical → HR. Individual interview paths can vary.

Is the JP Morgan interview hard?

Among questions with a reported difficulty, the mix is easy 41%, medium 54%, hard 5%.

Keep reading