Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by JPMorgan Chase & Co. Team. If you also belong to the team, you can get access from here

JPMorgan Chase & Co. Verified Tick

Compare button icon Compare button icon Compare
4.0

based on 5.8k Reviews

Filter interviews by

JPMorgan Chase & Co. Machine Learning Engineer Interview Questions, Process, and Tips

Updated 7 Feb 2022

JPMorgan Chase & Co. Machine Learning Engineer Interview Experiences

1 interview found

I was interviewed in Aug 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Hard

Timings: Early morning 7am (60 mins )
Subsection 1 (30 mins): MCQ round having 30 questions of 11th and 12th Math (complex numbers, trigonometry, calculas), Probability (Expectancy, bayes theorem, other probability question), Coding (Input/Output Question, Time complexity, Stack Push and Pop, Prefix, Postfix).
Subsection 2 (30 mins): 2 Coding Question 1 easy level (Find max in array), other was medium level (Find all the elements in tree which are at same level, where level is depth of smallest path from root to leaf)

Questions were different for each candidate

  • Q1. Given an array find the maximum element in array.

    You are given an array of N elements. This array represents the digits of a number. In an operation, you can swap the value at any two indices. Your task i...

  • Ans. Brute Force

    The idea is to generate all the possible numbers by trying all the possible combinations of indices. We will run two nested loops to generate all numbers and inside the inner loop with we will have to compare the array, we get after swapping with the maximum number we get till this step.

    1. Let’s say we have a given array ARR.
    2. Let’s take an integer array of size N say MAX initialized to ARR, MAX[N] = ARR.
    3. Iterate ...
  • Answered by CodingNinjas
  • Q2. Finding Paths

    Kevin has written some integers on a paper. He then selects some integers and draws a line between them. Fortunately, his diagram represents a binary tree. Today, his friend challenged him to...

  • Ans. Depth First Search and Backtracking

    The basic idea is to perform Depth First Search on the given binary Tree and keep track of the current sum and whenever reached the lead node check if the sum becomes equal to the ‘K’ then pick this path, otherwise just backtrack to the previous node and exclude the value of this leaf node from the current sum.

     

    We are here using a helper function that is recursive in nature and i...

  • Answered by CodingNinjas
Round 2 - Video Call 

(2 Questions)

Round duration - 30 minutes
Round difficulty - Medium

Interviewer greeted me and told this round is only on Probability.(This was scheduled same day at 3pm)
He asked Following Probability questions:
Q1: What is Random variable?
Q2: What is Sample space?
Q3: What is Conditional Probability? followed by a Numerical on it.
Q4: What is a Normal Distribution?
Q5: What is Bayes theorem? followed by a numerical on it.
Q6: probability of car accident in one hour is 1/4. What is the probability of accident in half hour?
Q7: Two die are thrown, what is the probability of getting multiple of 3. 
Q8: There is 10 Black socks in drawer, 10 white socks. What is the minimum number of socks we need to pick out such that we get a pair?

  • Q1. Aptitude Question

    probability of car accident in one hour is 1/4. What is the probability of accident in half hour?

  • Q2. Aptitude Question

    There is 10 Black socks in drawer, 10 white socks. What is the minimum number of socks we need to pick out such that we get a pair?

Round 3 - Video Call 

(1 Question)

Round duration - 30 minutes
Round difficulty - Medium

Interviewer greeted me and told this round is only on Basic DSA.(This was scheduled same day at 3:30pm)
He asked Following questions:
Q1: Introduction and Explain your resume?
Q2: What if we have one class (which has array functionality) and other class (stack) which we will inherit from array class what could possibly go wrong here?
Q3: What is Static data member in Classes?
Q4: What is Static member function in Classes? Can static member functions call normal data member of classes?
Q5: you are given a 2D grid, each index has some value associated with it. From Bottom right cornor you need to find a path till Top left cornor where you can get maximum sum of values from index occuring on the path, You can go in Up direction, Left direction or diagonal up-left direction? 

I was asked for approach (No coding was done on compiler)

  • Q1. Print All Possible Paths From Top Left Corner To Bottom Right Corner Of A 2-D Matrix

    You are given an ‘M*N’ Matrix, You need to print all possible paths from its top left corner to the bottom right corner...

  • Ans. Recursion

    The basic idea to solve this problem is to use recursion. Recursively call function   for next row ( row+1,col ) and next column ( row, col+1 ). If the row is equal to M-1 or the column is equal to N-1, then recursion is stopped.

     

    Algorithm:

    • Take an array or vector ‘path’, which will store the path we have to print.
    • Start from the index (row, col) = (0,0).
    • Add mat(row, col) to  ‘path.’
    • Recursively ca...
  • Answered by CodingNinjas
Round 4 - Video Call 

(2 Questions)

Round duration - 15 minutes
Round difficulty - Easy

This round happened around 5pm in evening, i got the call from the interviewer to join Zoom call immediately. In this round (it was kind of rapid fire round on DSA,)
Following questions were asked:
Q1: Introduce yourself and explain your resume.
Q2: What is your favorite data structure and why? I said it is Deque, as it is can be helpful in many questions
Q3: Explain what are segment trees. Also give a question were we can use them.
Q4: What are tries, and give one application of tries.
Q5: Given one array you need to give approach to find out all the permutation of the elements in it. (I gave recursive approach)
Q6: Given the same array and value k, you need to tell if sum of subset can be equal to k. (This question is modification of 0/1 Knapsack. I explained the recursive approach)

Interviewer told me to wait for last HR round (I was on cloud 9 after listening to this as it was elimination round)

  • Q1. Find Permutation

    You are given an integer ‘N’. You need to find an array of size 2*N that satisfies the following two conditions.

    1. All numbers from 1 to N should appear exactly twice in the array.

    2...

  • Ans. Brute Force

    The idea is to make an array with exactly two occurrences of each element from 1 to N. Then we will generate all possible permutations of this array and check if any permutation is valid or not.

    The steps are as follows:

    1. Let’s define a recursive function as generatePermutations(arr, answer, N,  start, end), where arr is the array containing the permutation, answer is array that will store the final answer...
  • Answered by CodingNinjas
  • Q2. Subset Sum Equal To K

    You are given an array/list ‘ARR’ of ‘N’ positive integers and an integer ‘K’. Your task is to check if there exists a subset in ‘ARR’ with a sum equal to ‘K’.

    Note: Return true if ...

  • Ans. Recursion

    The idea is to generate all possible subsets and check if any of them sums up to ‘K’. This can be done through recursion.

     

    Here is the algorithm:

     

    subsetSumToK(N , K , ARR):

    1. Initialize integer variable ‘ANS’ = ‘helper(ARR, N, K)’. Here ‘helper’ is the recursive function that returns true/false.
    2. If ‘ANS’ is equal to 1 then:
      • Return true.
    3. Else:
      • Return false.

     

    helper(ARR, N, K):

    1. Base case: If ‘N’ is less tha...
  • Answered by CodingNinjas
Round 5 - Video Call 

(1 Question)

Round duration - 20 Minutes
Round difficulty - Easy

This round happened around 6:30pm in evening, i got the call from the interviewer to join Zoom call immediately. It was HR+(Probability mix round).
He asked me following questions:
Q1: Introduce and explain your resume.
As i was unable to solve 2 probability question in Round 2. The interviewer immediately asked me 2 probability questions back to back.
Q2: What is bayes theorem and a numerical on it.
Q3: If there is a frog which can go one step forward with probability 3/4. and one step backward with 1/4. What is expectancy to reach 7 steps forward.

I was unable to solve the last probability ques. Was on right track almost in end of interview.
2/18 students were selected for intern JPMC(Quant Research @ 1.5Lakhs stipend)

  • Q1. Aptitude Question

    If there is a frog which can go one step forward with probability 3/4. and one step backward with 1/4. What is expectancy to reach 7 steps forward.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from TIET - Thapar Institute of Engineering And Technology. I applied for the job as Machine learning engineer in MumbaiEligibility criteriaAbove 7 CGPA, No criteria, Need two development projects on ResumeJP Morgan interview preparation:Topics to prepare for the interview - Probability and Statistics, Dynamic programming, Greedy Algorithm, Arrays, Strings, Trees, HeapTime required to prepare for the interview - 2 MonthsInterview preparation tips for other job seekers

Tip 1 : Do Solve Probability questions on Expectancy, Conditional Probability, Bayes theorem and basic 12th level.
Tip 2 : Prepare your Introduction and Be very concise as interviews are of maximum 30 mins each
Tip 3 : Be very communicative and keep trying each question given till end. Never give up!

Application resume tips for other job seekers

Tip 1 : Do include Projects with Live link in resume
Tip 2 : Do Choose simple Format of Word, Don't include to much designing

Final outcome of the interviewRejected

Skills evaluated in this interview

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in Mar 2024. There were 2 interview rounds.

Round 1 - Technical 

(4 Questions)

  • Q1. Difference between BERT and GPT
  • Ans. 

    BERT is bidirectional, GPT is unidirectional. BERT uses transformer encoder, GPT uses transformer decoder.

    • BERT is bidirectional, meaning it can look at both left and right context in a sentence. GPT is unidirectional, it can only look at the left context.

    • BERT uses transformer encoder architecture, while GPT uses transformer decoder architecture.

    • BERT is pretrained on masked language model and next sentence prediction ta...

  • Answered by AI
  • Q2. Explain the attention mechanism
  • Ans. 

    Attention mechanism allows models to focus on specific parts of input sequence when making predictions.

    • Attention mechanism helps models to weigh the importance of different parts of the input sequence.

    • It is commonly used in sequence-to-sequence models like machine translation.

    • Examples include Bahdanau Attention and Transformer models.

  • Answered by AI
  • Q3. Bias and variance trade off
  • Q4. How to deal if the distribution of a variable is skewed
  • Ans. 

    To deal with skewed distribution of a variable, transformations like log, square root, or box-cox can be applied.

    • Apply log transformation to reduce right skewness

    • Apply square root transformation to reduce left skewness

    • Apply box-cox transformation for a more generalized approach

    • Consider removing outliers before applying transformations

  • Answered by AI
Round 2 - Coding Test 

Python code to determine the least common sub word in a given list with strings

Skills evaluated in this interview

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(1 Question)

  • Q1. Machine learning projects Machine Learning Basics Coding on shared doc

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared for Coding round and Machine learning both.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in Mar 2024. There were 2 interview rounds.

Round 1 - Technical 

(4 Questions)

  • Q1. Difference between BERT and GPT
  • Ans. 

    BERT is bidirectional, GPT is unidirectional. BERT uses transformer encoder, GPT uses transformer decoder.

    • BERT is bidirectional, meaning it can look at both left and right context in a sentence. GPT is unidirectional, it can only look at the left context.

    • BERT uses transformer encoder architecture, while GPT uses transformer decoder architecture.

    • BERT is pretrained on masked language model and next sentence prediction ta...

  • Answered by AI
  • Q2. Explain the attention mechanism
  • Ans. 

    Attention mechanism allows models to focus on specific parts of input sequence when making predictions.

    • Attention mechanism helps models to weigh the importance of different parts of the input sequence.

    • It is commonly used in sequence-to-sequence models like machine translation.

    • Examples include Bahdanau Attention and Transformer models.

  • Answered by AI
  • Q3. Bias and variance trade off
  • Q4. How to deal if the distribution of a variable is skewed
  • Ans. 

    To deal with skewed distribution of a variable, transformations like log, square root, or box-cox can be applied.

    • Apply log transformation to reduce right skewness

    • Apply square root transformation to reduce left skewness

    • Apply box-cox transformation for a more generalized approach

    • Consider removing outliers before applying transformations

  • Answered by AI
Round 2 - Coding Test 

Python code to determine the least common sub word in a given list with strings

Skills evaluated in this interview

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Technical 

(1 Question)

  • Q1. Machine learning projects Machine Learning Basics Coding on shared doc

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared for Coding round and Machine learning both.

Tell us how to improve this page.

Interview Questions from Similar Companies

Citicorp Interview Questions
3.7
 • 560 Interviews
Wells Fargo Interview Questions
3.9
 • 553 Interviews
Bajaj Finserv Interview Questions
4.0
 • 497 Interviews
HSBC Group Interview Questions
4.0
 • 488 Interviews
Goldman Sachs Interview Questions
3.6
 • 406 Interviews
Deutsche Bank Interview Questions
3.9
 • 357 Interviews
American Express Interview Questions
4.2
 • 357 Interviews
UBS Interview Questions
4.0
 • 334 Interviews
BNY Interview Questions
4.0
 • 331 Interviews
Morgan Stanley Interview Questions
3.7
 • 301 Interviews
View all
JPMorgan Chase & Co. Machine Learning Engineer Salary
based on 13 salaries
₹13 L/yr - ₹30 L/yr
136% more than the average Machine Learning Engineer Salary in India
View more details

JPMorgan Chase & Co. Machine Learning Engineer Reviews and Ratings

based on 4 reviews

3.3/5

Rating in categories

3.7

Skill development

3.3

Work-Life balance

3.5

Salary & Benefits

3.3

Job Security

3.2

Company culture

3.0

Promotions/Appraisal

3.2

Work Satisfaction

Explore 4 Reviews and Ratings
Associate
10.1k salaries
unlock blur

₹10 L/yr - ₹35 L/yr

Team Lead
5.4k salaries
unlock blur

₹5.6 L/yr - ₹16.5 L/yr

Vice President
3.8k salaries
unlock blur

₹20 L/yr - ₹68 L/yr

Analyst
2.5k salaries
unlock blur

₹6.3 L/yr - ₹25 L/yr

Software Engineer
2.4k salaries
unlock blur

₹10.8 L/yr - ₹34 L/yr

Explore more salaries
Compare JPMorgan Chase & Co. with

Morgan Stanley

3.7
Compare

Goldman Sachs

3.6
Compare

TCS

3.7
Compare

Bank of America

4.3
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview