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

SDE - 2

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

Interview preparation journey

expand-icon
Preparation
Duration: 2 Months
Topics: Data Structures and Algorithms, OOPS, Probability, System Design, Project (thoroughly).
Tip
Tip

Tip 1 : I practiced regularly
Tip 2 : Revised my Coding Ninjas Course 
Tip 3 : Created One Project (Helped me a lot during Design Interview )

Application process
Where: Linkedin
Eligibility: No
Resume Tip
Resume tip

Tip 1 : I have done some internship as a Software Developer.
Tip 2 : Have some good project on my resume.

Interview rounds

01
Round
Medium
Video Call
Duration80 minutes
Interview date12 Feb 2021
Coding problem3

1. Increasing Path In Matrix

Moderate
25m average time
75% success
0/80
Asked in companies
SalesforceMathworksGeeksforGeeks

You are given a 2-D matrix ‘mat’, consisting of ’N’ rows and ‘M’ columns. The element at the i-th row and j-th column is ‘mat[i][j]’.

From mat[i][j], you can move to mat[i+1][j] if mat[i+1][j] > mat[i][j], or to mat[i][j+1] if mat[i][j+1] > mat[i][j].

Your task is to find and output the longest path length if you start from (0,0) i.e from mat[0][0] and end at any possible cell (i, j) i.e at mat[i][j].

Note :
Consider 0 based indexing.
Try solving now

2. Design Data Structure

Design Data structure like Queue in which you have to get the middle element in  O(1),  then update that value and do some modification and add back to the Queue in O(1) and the rearrangement happens. 

3. Basic Interview Questions

Probability Questions, Some OOPS Question with the Advance concept in java, and Some SQL queries

02
Round
Hard
Video Call
Duration50 minutes
Interview date19 Feb 2021
Coding problem2

It was purely Data Structures and Maths.

1. Arithmetic Progression Queries

Ninja
44m average time
50% success
0/200
Asked in companies
OYOFacebookGoldman Sachs

Given an integer array(ARR) of size N, the following operations need to be performed:

update(l, r, val) : Add (val + i) to arr[l + i] where, 0 <= i <= r - l.

rangeSum(l, r): return the sum of all elements in the array from index l to r, i.e., the sum of array arr[l...r].

Two type of queries denote these operations:

Type 1: for update(l, r, val) operation.
Type 2: for rangeSum(l, r) operation.

Note: (1 based indexing) for the queries.
Try solving now

2. Probability Questions

What is the probability of getting a sum of 22 or more when four dice are thrown?

Fifteen people sit around a circular table. What are odds against two particular people sitting together?

03
Round
Easy
Video Call
Duration70
Interview date26 Feb 2021
Coding problem1

1. Technical Questions

Discussion over-
Checked my Github profile and asked lots of questions on projects.
Microservices, Acid Compliance properties, Messaging Queues, Kubernetes, and Docker
Designing Pizza Delivery System

04
Round
Easy
Online Coding Test
Duration30
Interview date5 Mar 2021
Coding problem1

1. Pattern Matching

Moderate
15m average time
85% success
0/80
Asked in companies
JP MorganAppleFlipkart

You are given a pattern in the form of a string and a collection of words. Your task is to determine if the pattern string and the collection of words have the same order.

Note :
The strings are non-empty.

The strings only contain lowercase English letters.
Try solving now

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
1647 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by JP Morgan
2069 views
0 comments
0 upvotes
company logo
SDE - 1
1 rounds | 2 problems
Interviewed by JP Morgan
1231 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by JP Morgan
1353 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
23091 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
7864 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
4991 views
0 comments
0 upvotes