i
JPMorgan Chase & Co.
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via AmbitionBox and was interviewed in Sep 2024. There was 1 interview round.
I applied via Campus Placement and was interviewed in May 2024. There was 1 interview round.
3 coding questions related to dp and graph
I appeared for an interview in Apr 2021.
Round duration - 60 Minutes
Round difficulty - Easy
An online coding round was help which consisted of 2 coding questions.
You are provided with a 9x9 2D integer matrix MAT
representing a Sudoku puzzle. The empty cells in the Sudoku are denoted by zeros, while the other cells contain integers f...
Implement a function to solve a Sudoku puzzle by filling empty cells with valid numbers.
Iterate through each empty cell and try filling it with a valid number (1-9) that satisfies Sudoku rules.
Use backtracking to backtrack and try different numbers if a cell cannot be filled with a valid number.
Check rows, columns, and 3x3 sub-grids to ensure each digit appears only once.
Recursively solve the puzzle until all empty cel
You are given a string of length N
. Your task is to reverse the string word by word. The input may contain multiple spaces between words and may have leading o...
Reverse words in a string word by word, removing leading/trailing spaces and extra spaces between words.
Split the input string by spaces to get individual words
Reverse the order of the words
Join the reversed words with a single space in between
Remove any leading or trailing spaces
Round duration - 30 Minutes
Round difficulty - Hard
This round was majorly about the projects I had done and coding questions. The interviewer had gone through my resume and told me to explain my projects in brief. After that, he asked some questions about my projects and how I would handle them in different situation. Then he asked 2 coding questions.
Given a positive integer N, determine the number of possible rectangles that can be formed on an N x N chessboard, excluding squares.
The first line cont...
Count the number of rectangles (excluding squares) that can be formed on an N x N chessboard.
Calculate total rectangles using formula N*(N+1)*M*(M+1)/4 where M = N-1
Subtract the number of squares (N*(N+1)*(2*N+1)/6) from total rectangles
Return the count modulo 1000000007 for each test case
Tip 1 : Clear your basics about subjects related to computers and be positive.
Tip 2 : Do atleast 3 projects and be well prepared for questions around those projects during interview.
Tip 3 : Practice atleast 5 questions daily starting from the basic ones.
Tip 1 : Have atleast 2 projects on your resume
Tip 2 : Be careful of what you put on your resume you can be questioned about everything in your interview.
What people are saying about JPMorgan Chase & Co.
I appeared for an interview in Nov 2020.
Round duration - 45 Minutes
Round difficulty - Hard
It was an online test on hackerrank. They asked us to turn on video and audio of laptop. It consisted of two programming questions. After Round 1 around 54 were shortlisted for the technical interview process.
Given an array/list ARR
consisting of integers where each element is either 0, 1, or 2, your task is to sort this array in increasing order.
The input sta...
Sort an array of 0s, 1s, and 2s in increasing order.
Use a three-pointer approach to sort the array in a single pass.
Initialize three pointers for 0, 1, and 2 values and iterate through the array.
Swap elements based on the values encountered to achieve the sorted array.
Given a binary matrix of size N * M
where each element is either 0 or 1, find the shortest path from a source cell to a destination cell, consisting only...
Find the shortest path in a binary matrix from a source cell to a destination cell consisting only of 1s.
Use Breadth First Search (BFS) algorithm to find the shortest path.
Keep track of visited cells to avoid revisiting them.
Update the path length as you traverse the matrix.
Return -1 if no valid path exists.
Round duration - 60 Minutes
Round difficulty - Easy
It was a technical interview. It was on a Zoom call, and we have to write code on hackerrank. Then he asked the languages I code, I told him C++. Then he asked me two coding questions:
1. Given an array, print all the pairs which have a sum equal to the given number.
2. Given string print, a word with a maximum number of occurrences, and I have to think of all the worst cases. Then he asked me to solve the same question using another approach.
There was a discussion on time and space complexity in both the question.
Then he asked me why do you want to join JPMC and then asked me if I have any questions from him.
You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to find and return a list of all pairs of elements where each sum of a pair equals 'S'.
Find pairs of elements in an array that sum up to a given value, sorted in a specific order.
Iterate through the array and for each element, check if the complement (S - current element) exists in a hash set.
If the complement exists, add the pair to the result list.
Sort the result list based on the criteria mentioned in the problem statement.
Given a paragraph consisting of letters in both lowercase and uppercase, spaces, and punctuation, along with a list of banned words, your task is to find th...
Find the most frequent word in a paragraph that is not in the list of banned words.
Split the paragraph into words and convert them to uppercase for case-insensitivity.
Count the frequency of each word, excluding banned words.
Return the word with the highest frequency in uppercase.
Tip 1 : Practice atleast 350 Questions.
Tip 2 : keep your DS & algo part very strong.
Tip 3 : work on your communication skills.
Tip 1 : Keep it short and concise.
Tip 2 : have some good projects on resume.
JPMorgan Chase & Co. interview questions for designations
I appeared for an interview before Sep 2020.
Round duration - 65 minutes
Round difficulty - Medium
It was around 6 pm and was held on Hackerrank. Having switched on WebCam during the entire duration was mandatory. We were required to solve 2 questions under 65 mins. Solving one problem completely, along with some of the test cases of another, was enough for getting shortlisted.
You are provided with a sentence 'TEXT'. Each word in the sentence is separated by a single space, and the sentence starts with a capital letter. Your task is to rearrange th...
Rearrange words in a sentence based on increasing order of their length.
Split the sentence into words and calculate the length of each word.
Sort the words based on their lengths in increasing order.
If two words have the same length, maintain their original order from the input sentence.
You are provided with a 9 x 9 2D matrix MATRIX
containing digits (1-9) and empty cells indicated by 0.
Your task is to determine if there exists a method to fill all emp...
Check if a valid Sudoku solution exists for a given 9x9 matrix with empty cells.
Iterate through each row, column, and sub-matrix to ensure all digits from 1 to 9 appear exactly once.
Use sets to keep track of digits seen in each row, column, and sub-matrix.
If any digit is repeated in a row, column, or sub-matrix, return 'no'.
If all rows, columns, and sub-matrices pass the validity check, return 'yes'.
Round duration - 35 minutes
Round difficulty - Medium
The interview started with my brief introduction, and the interviewer then proceeded to ask some questions. I was asked to write a code for these two questions:
1. Find the distances between two given nodes of a binary tree.
2. Find the next greater number with the same set of digits.
After I was able to solve both questions, he proceeded to ask some questions about my projects. He seemed interested in the ML project and asked some basic questions regarding the same. We had a brief discussion on how Machine learning can be used in the Chemical Engineering field. He asked me why I was aspiring to become a software engineer despite having a Chemical engineering background. The round ended with me asking him about the types of projects interns are provided to work on at JPMC
Given a binary tree and the values of two distinct nodes, determine the distance between these two nodes in the tree. The distance is defined as the minimum num...
Calculate the distance between two nodes in a binary tree.
Traverse the tree to find the paths from the root to each node
Find the lowest common ancestor of the two nodes
Calculate the distance by adding the distances from the LCA to each node
Given a string S
which represents a number, determine the smallest number strictly greater than the original number composed of the same digits. Each digit's frequenc...
The task is to find the smallest number greater than the given number with the same set of digits.
Iterate from right to left to find the first digit that can be swapped with a smaller digit to make the number greater.
Swap this digit with the smallest digit to its right that is greater than it.
Sort all digits to the right of the swapped digit in ascending order to get the smallest number greater than the original.
If no ...
Round duration - 20 minutes
Round difficulty - Easy
This round was comparatively short. It also started with my brief introduction. The interviewer then asked me about my area of interest, which was Data Structure and Algorithms. He asked me how to find the Nth node from the end in a linked list using a single traversal and LRU Cache implementation. He also seemed interested in the ML Project and asked to explain it in brief. He then gave me a situation wherein I had to make a model for a self-driving car. I gave him a basic idea of how the model will be trained, and he was satisfied. The round ended with him asking generic questions like 'Why JPMC?' , 'Why I chose to code despite belonging to the non-CSE background.'
You are given a singly Linked List with 'N' nodes containing integer data and an integer 'K'. Your task is to delete the Kth node from the end of this Lin...
Implement a function to remove the Kth node from the end of a singly linked list.
Traverse the list to find the length 'N' of the linked list.
Calculate the position of the node to be removed from the beginning as 'N - K + 1'.
Traverse the list again and remove the node at the calculated position.
Design and implement a data structure for the Least Recently Used (LRU) Cache to efficiently support the following operations:
get(key)
: Retrieve the value of the key if it...Design and implement a data structure for LRU Cache to efficiently support get and put operations.
Implement a doubly linked list to maintain the order of recently used keys.
Use a hashmap to store key-value pairs for quick access.
Update the linked list and hashmap accordingly for get and put operations.
Discard the least recently used item when the cache reaches its capacity.
Handle edge cases like key not found in cache.
...
Round duration - 10 minutes
Round difficulty - Easy
It was late at night (around 12:30 am) but was crisp and short. HR was really friendly. I was called for the HR round on the same day as the other two rounds. HR asked me why I chose JPMC and why I aspire to become a software engineer. He then asked me about my skill set and how I will enhance it if I got selected. He then asked if I had any questions for him, where I asked him how the virtual working environment has been different from the office experience at JPMC, and if there were any significant challenges.
Tip 1 : Prepare all standard DSA questions from GFG very well. Be thorough with everything mentioned in your resume since the interviewer can ask anything. Avoid writing things you do not know.
Tip 2 :Have 2-3 good projects and in-depth knowledge about the same. Be prepared to explain your project in detail and answer any follow-up questions.
Tip 3 : Prepare the question you would ask your interviewer beforehand. This is an excellent chance to make a good impression. Do not lose your calm and be confident. The interviewers are very friendly and help you if you get stuck somewhere.
Tip 1 : Mention at least two projects on your resume. Having both projects from different domains is a plus point. For example, I had one project on machine learning and another one was a web development project.
Tip 2 : Only mention the things you are confident about. Do not lie on resume and prepare each and every point on resume thoroughly.
Get interview-ready with Top JPMorgan Chase & Co. Interview Questions
I appeared for an interview before Dec 2020.
Round duration - 30 minutes
Round difficulty - Medium
Given a complete binary tree with 'N' nodes, your task is to determine the 'next' node immediately to the right in level order for each node in the given tree.
...Implement a function to populate next right pointers in a complete binary tree.
Traverse the tree level by level using BFS
For each node, set its next pointer to the next node in the same level
Handle null nodes appropriately by setting next pointer to null
Ensure the tree is a complete binary tree to guarantee correct output
Round duration - 10 Minutes
Round difficulty - Easy
Tip 1 : have a good resume highlighting your extra curricular
Tip 2 : explain in detail as if they know nothing about you
Tip 3 : be honest
Tip 1 : Have a good format (use novaresume)
Tip 2 : be real in it
I appeared for an interview before Nov 2020.
Round duration - 90 Minutes
Round difficulty - Easy
the test started at 4 in the evening. the test was conducted in the college only and all the questions were very basic .
Given ‘N’ horses running in separate lanes, each horse's finish time is provided in an array. You are tasked to process 'Q' queries. For each query, determine the time take...
Given finish times of horses, determine fastest horse in specified lane ranges for multiple queries.
Iterate through each query and find the minimum finish time within the specified range of horses.
Use a nested loop to handle multiple test cases and queries efficiently.
Ensure to handle edge cases like empty ranges or invalid inputs.
Consider using a data structure like arrays to store finish times and process queries.
You are provided with two singly linked lists containing integers, where both lists converge at some node belonging to a third linked list.
Your task is to determine t...
Find the node where two linked lists merge.
Traverse both lists to find their lengths and the difference in lengths.
Move the pointer of the longer list by the difference.
Traverse both lists simultaneously until they meet at the merging node.
Tip 1 : practice at least the most common and frequent question of each topic from the data structure and algorithm design
Tip 2 : Have at least one project made by you which uses databases
Tip 3 : give practice test to develop speed and accuracy on different platforms
Tip 1 : Resume should be technical skills oriented or if you have a lot of projects should focus on that.
Tip 2 : It should be clean and do not add things that are not relevant to the job you are applying for.
Tip 3 : Resume should be concise and highlight the important points.
I appeared for an interview before Mar 2021.
Round duration - 90 Minutes
Round difficulty - Medium
This was an online coding round where we had 2 questions of Medium to Hard level of difficulty to solve under 90 minutes. I was able to solve the 2nd question fully and the 1st one partially. 10 students were shortlisted for further rounds and I was one of them.
You are provided with a string STR
of length N
. The goal is to identify the longest palindromic substring within this string. In cases where multiple palind...
Given a string, find the longest palindromic substring, choosing the one with the smallest start index if multiple exist.
Iterate through the string and expand around each character to find palindromes
Keep track of the longest palindrome found and its starting index
Return the longest palindromic substring with the smallest start index
You are given an array of integers ARR
and an integer X
. Your task is to determine the number of subarrays of ARR
whose bitwise XOR is equal to X
.
Count the number of subarrays in an array whose XOR is equal to a given value.
Iterate through the array and keep track of XOR values and their frequencies using a hashmap.
For each element, calculate the XOR with the previous elements to find subarrays with XOR equal to the given value.
Use the hashmap to efficiently count the number of subarrays with the desired XOR value.
Handle edge cases like XOR value being 0 separat...
Round duration - 70 Minutes
Round difficulty - Medium
This was a preety intense round where I had to solve 3 algorithmic questions under 70 minutes. I first explained my approach for each of these questions and also discussed why they were optimal in the first place with their respective time and space compleixities. The interviewer was quite impressed at the end of the round.
You are given a continuous stream of numbers, and the task is to determine the kth largest number at any moment during the stream.
A specialized data st...
Design a data structure to find the kth largest number in a continuous stream of integers.
Design a specialized data structure to handle continuous stream of numbers
Implement add(DATA) function to add integers to the pool
Implement getKthLargest() function to retrieve the kth largest number
Maintain the pool of numbers and update it based on queries
Output the kth largest number for each Type 2 query
You are provided with two sorted linked lists. Your task is to merge them into a single sorted linked list and return the head of the combined linked list.
...Merge two sorted linked lists into a single sorted linked list without using additional space.
Create a dummy node to start the merged list
Compare the values of the two linked lists and append the smaller value to the merged list
Move the pointer of the merged list and the pointer of the smaller value's linked list
Continue this process until one of the linked lists is fully traversed
Append the remaining elements of the o
Develop a Stack Data Structure to store integer values using two Queues internally.
Your stack implementation should provide these public functions:
Implement a stack using two queues to store integer values with specified functions.
Use two queues to simulate stack operations efficiently.
Maintain the top element in one of the queues for easy access.
Ensure proper handling of edge cases like empty stack or invalid operations.
Example: Push elements 5, 10, 15; Pop element 15; Check top element 10; Check size of stack; Check if stack is empty.
Round duration - 30 Minutes
Round difficulty - Easy
This was a typical HR round with some standard Behavioral questions.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I applied via Naukri.com and was interviewed before Apr 2020. There were 3 interview rounds.
SCD Type 2 is a technique used to track historical changes in data over time in a data warehouse.
SCD Type 2 maintains a separate row for each change in data, with a start and end date.
It requires a surrogate key to uniquely identify each row.
Informatica provides a built-in SCD Type 2 transformation to implement this technique.
Example: tracking changes in customer addresses over time.
based on 2 interviews
2 Interview rounds
based on 3 reviews
Rating in categories
Associate
10.4k
salaries
| ₹10 L/yr - ₹43.4 L/yr |
Team Lead
5.6k
salaries
| ₹5.7 L/yr - ₹16.7 L/yr |
Vice President
4.1k
salaries
| ₹20 L/yr - ₹70 L/yr |
Analyst
2.6k
salaries
| ₹6.5 L/yr - ₹26 L/yr |
Software Engineer
2.6k
salaries
| ₹11 L/yr - ₹35.3 L/yr |
Morgan Stanley
Goldman Sachs
TCS
Bank of America