JP Morgan interview experience Real time questions & tips from candidates to crack your interview

R&D Intern

JP Morgan
upvote
share-icon
4 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 8 Months
Topics: Data Structures and Algorithms, Operating Systems, Computer Networks, DBMS, OOPS
Tip
Tip

Tip 1 : Data Structures is most important.
Tip 2 : Practice coding problems.

Application process
Where: Campus
Eligibility: 7.5 Cgpa
Resume Tip
Resume tip

Tip 1 : Mention good projects 
Tip 2 : Have complete knowledge of whatever you are mentioning

Interview rounds

01
Round
Medium
Online Coding Interview
Duration70 minutes
Interview date1 Aug 2020
Coding problem1

It had two parts. First part had MCQ questions and the second part had two coding questions.

1. Minimum Depth Of Binary Tree

Moderate
20m average time
80% success
0/80
Asked in companies
FacebookJP MorganGoldman Sachs

You have been given a Binary Tree of integers, find the minimum depth of this Binary Tree. The minimum depth of a Binary Tree is the number of nodes along the shortest path from the root node down to the nearest leaf node.

Note:
A leaf is a node with no children.
For example:
For the given binary tree

alt text

Output: 2
The shortest path is from root node 1 to leaf node 2 which contains 2 nodes in the path. Hence, the minimum depth is 2.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date5 Aug 2020
Coding problem1

Questions about data structures and Machine learning were asked.

1. Pascal's Triangle

Easy
20m average time
80% success
0/40
Asked in companies
IBMGrabTata Consultancy Services (TCS)

You are given an integer N. Your task is to return a 2-D ArrayList containing the pascal’s triangle till the row N.

A Pascal's triangle is a triangular array constructed by summing adjacent elements in preceding rows. Pascal's triangle contains the values of the binomial coefficient. For example in the figure below.

For example, given integer N= 4 then you have to print.

1  
1 1 
1 2 1 
1 3 3 1

Here for the third row, you will see that the second element is the summation of the above two-row elements i.e. 2=1+1, and similarly for row three 3 = 1+2 and 3 = 1+2.
Try solving now
03
Round
Hard
Video Call
Duration60 minutes
Interview date5 Aug 2020
Coding problem1

Questions related to data structures were asked

1. Sort Elements By Frequency

Easy
15m average time
85% success
0/40
Asked in companies
HSBCAccentureCIS - Cyber Infrastructure

You are given a list of a repeated set of integers. Your task for the problem is to return a list of the given elements in decreasing sorted order of their frequency of repetition in the given list with the element with the highest frequency of repetition first and so on.

Note :
If two numbers have the same frequency then keep the one that was present before the other in the original given list (array) first.
For Example :
Input:  arr[] = {2, 5, 2, 8, 5, 6, 8, 8}
Output: arr[] = {8, 8, 8, 2, 2, 5, 5, 6}

Explanation :
When you sort the array based on the decreasing order of the frequency of repetition of integers in the original array, 
you’ll find that the element ‘8’ is the integer with the most repeated values therefore it would be arranged first after which since both 2 and 5 have the same number of repeated 
values in the original array but since the 2 arrived first so we will first arrange 2 and then 5 in our resultant array, while would be the last element after sorting here.
Try solving now
04
Round
Medium
HR Round
Duration40 minutes
Interview date5 Aug 2020
Coding problem1

Questions about my projects and behavioural questions were asked

1. Basic HR Questions

Who is your role model?

Are you a team player?

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

To make an AI less repetitive in a long paragraph, you should increase:

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by JP Morgan
1279 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by JP Morgan
0 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by JP Morgan
1370 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 14 problems
Interviewed by JP Morgan
1145 views
0 comments
0 upvotes