Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
JP Morgan interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

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

Interview preparation journey

expand-icon
Preparation
Duration: 2 Months
Topics: Data Structures, Machine Learning, OOPS, DBMS, Algorithms, Git and SQL Basics.
Tip
Tip

Tip 1 : Practice D.S.A
Tip 2 : Prepare your projects
Tip 3 : Be confident

Application process
Where: Campus
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have some projects on your resume.
Tip 2 : Do not put false things on a resume.

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 Minutes
Interview date29 Oct 2021
Coding problem2

1. Split Binary String

Easy
15m average time
85% success
0/40
Asked in companies
AmazonJP MorganZomato

Chintu has a long binary string ‘str’. A binary string is a string that contains only 0 and 1. He considers a string ‘beautiful’ if and only if the number of 0's and 1's in the string are equal.

For example :

0011 , 1100 , 101010 etc are beautiful strings whereas 1110, 0001,10101 etc are not beautiful strings.

Now Chintu wants to split the string into substrings such that each substring is beautiful. Can you help Chintu to find the maximum number of beautiful strings he can split the string into? If it is not possible to split the string in such a way that all strings are beautiful, return -1.

For example :

Let the given string be “101001”
We will return 3 as we can divide the string into 3 beautiful strings “10” “10” and “01’.
Problem approach

.

Try solving now

2. Merge overlapping intervals

Easy
10m average time
90% success
0/40
Asked in companies
GoogleGrowwGoldman Sachs

Given 'N' number of intervals, where each interval contains two integers denoting the boundaries of the interval. The task is to merge all the overlapping intervals and return the list of merged intervals sorted in ascending order.

Two intervals will be considered to be overlapping if the starting integer of one interval is less than or equal to the finishing integer of another interval, and greater than or equal to the starting integer of that interval.

Example:
for the given 5 intervals - [1,4], [3,5], [6,8], [10,12], [8,9].
Since intervals [1,4] and [3,5] overlap with each other, we will merge them into a single interval as [1,5].

Similarly [6,8] and [8,9] overlaps, we merge them into [6,9].

Interval [10,12] does not overlap with any interval.

Final List after merging overlapping intervals: [1,5], [6,9], [10,12]
Problem approach

.

Try solving now
02
Round
Medium
Video Call
Duration100 Minutes
Interview date6 Nov 2021
Coding problem1

It was a video interview in which 2 questions were asked u have 2 chances for each question to record your video. It was conducted on hirepro website.
 

1. General Questions

Q1 - Describe a mistake that you did in a project and what did you learn from it
Q2 - Explain a situation when you went above and beyond in a project

03
Round
Easy
Face to Face
Duration35
Interview date15 Nov 2021
Coding problem1

The interviewer asked me to explain my project, 2 situation based questions and asked to solve a question on Trees

1. Left View Of Binary Tree

Moderate
30m average time
60% success
0/80
Asked in companies
SalesforceOlaWalmart

You have been given a Binary Tree of 'n' nodes, where the nodes have integer values



Example :
If the input tree is as depicted in the picture: 

alt text

The Left View of the tree will be:  2 35 2 
Try solving now
04
Round
Medium
Face to Face
Duration35 Minutes
Interview date15 Nov 2021
Coding problem0

Only asked me about my projects on M.L and asked me to explain the algo. which I used in my project which was KNN.

05
Round
Easy
HR Round
Duration10 Minutes
Interview date15 Nov 2021
Coding problem1

1. HR Questions

Why do you want to join this company?
Where do you see yourself after 5years?
Are you ready to relocate?

Here's your problem of the day

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

Skill covered: Programming

How do you write a single-line comment in C++?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
Software Engineer
4 rounds | 3 problems
Interviewed by JP Morgan
1646 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by JP Morgan
718 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by JP Morgan
1352 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 14 problems
Interviewed by JP Morgan
605 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Mindtree
10532 views
7 comments
0 upvotes
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
6578 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
7862 views
1 comments
0 upvotes