i
JPMorgan Chase & Co.
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Clear (1)
I applied via Approached by Company and was interviewed in Jul 2024. There were 3 interview rounds.
DSA, Leetcode medium -2 problems
Count substrings with unique characters in a given string
Use a sliding window approach to keep track of unique characters in a substring
Use a set to store characters in the current window and update the window accordingly
Increment the count of valid substrings whenever a new character is added to the set
Debugging a Java code involves identifying and fixing errors in the code to ensure it runs correctly.
Start by understanding the error message or symptoms of the issue.
Use debugging tools like breakpoints, watches, and logging to track the flow of the code.
Review the code logic and check for common mistakes like typos, incorrect variable assignments, or logic errors.
Test different scenarios to reproduce the issue and na...
Design a parking system with different types of parking spots
Create classes for different types of parking spots (e.g. compact, regular, handicap)
Implement methods for checking availability, reserving, and releasing spots
Consider implementing a parking lot class to manage all parking spots
I was interviewed in Mar 2021.
Round duration - 80 minutes
Round difficulty - Medium
Given a 2-D matrix mat
with 'N' rows and 'M' columns, where each element at position (i, j) is mat[i][j]
, determine the length of the longest increasing...
The problem involves finding the length of the longest increasing path in a 2-D matrix starting from a given cell.
Use dynamic programming to keep track of the longest increasing path starting from each cell.
Implement a recursive function to explore all possible paths from a cell.
Update the length of the longest path for each cell based on the maximum path length from its neighbors.
Consider edge cases such as boundary c...
Round duration - 50 minutes
Round difficulty - Hard
It was purely Data Structures and Maths.
Given an integer array ARR
of size N
, perform the following operations:
- update(l, r, val):
Add (val + i)
to arr[l + i]
for all 0 ≤ i ≤ r - l
.
- rangeSu...
Implement update and rangeSum operations on an integer array based on given queries.
Implement update(l, r, val) by adding (val + i) to arr[l + i] for all i in range (0, r - l).
Implement rangeSum(l, r) to return the sum of elements in the array from index l to r.
Handle queries using 1-based indexing.
Ensure constraints are met for input values.
Output the sum of arr[l..r] for each rangeSum operation.
Round duration - 70 Minutes
Round difficulty - Easy
Round duration - 30 Minutes
Round difficulty - Easy
Given a pattern as a string and a set of words, determine if the pattern and the words list align in the same sequence.
T (number of test cases)
For each test ca...
The problem involves determining if a given pattern aligns with a list of words in the same sequence.
Iterate through the pattern and words list simultaneously to check for matching sequences.
Use a hashmap to store the mapping between characters in the pattern and words in the list.
Compare the mappings to determine if the pattern and words align in the same sequence.
Tip 1 : I solved Interviewbit mostly
Tip 2 : Revised my Coding Ninjas Course
Tip 3 : Created One Project (Helped me a lot during Design Interview )
Tip 1 : I have done some internship as a Software Developer.
Tip 2 : Have some good project on my resume.
I was interviewed in May 2022.
Round duration - 60 minutes
Round difficulty - Medium
Round started with an intro about the project. In my project i have mentioned that i had use Cassandra. The interviewer asked why use Cassandra , why not other No Sql database.
After that the interviewer started asking about the java concepts. How exception propagate takes in case of polymorphism.
There a question about multilevel inheritance. There were three classes parent, child , grandchild in a multlevel inheritance.
All three classes have a function with same name.
Question was about if we call a method something like this
Parent p = new Grandchild();
p.method1();
which class method would be called
You are provided with an integer array ARR
of length 'N'. Your objective is to determine the first missing positive integer using linear time and constant space. T...
Find the smallest missing positive integer in an array efficiently.
Iterate through the array and mark positive integers as visited using index as value
Iterate through the marked array to find the first missing positive integer
Handle negative numbers by ignoring them during marking process
Round duration - 60 minutes
Round difficulty - Medium
Interviewer started with some questions about Database locks .
I had to prepare a low level design of the library management system.
Then there were follow up questions regarding how many database table you will use, normalizing those databse table, writing the service logic for one of the functionality
A Library Management System to manage books, users, and transactions.
Create a database to store information about books, users, and transactions.
Implement functions to add, update, and delete books and users.
Allow users to check out and return books, with due date tracking.
Generate reports on book availability, user activity, and overdue books.
Round duration - 30 Minutes
Round difficulty - Easy
It was managerial round. They asked few questions about the project and why you use this particular technology.
Tip 1 : Be very clear with java basics, polymorphism in multilevel inheritance. Future, callable, completable furture in concurrency, stream api.Concurrent hash map, Database locks , how Database indexes are fast.
Tip 2 : In 2 round they are going to make you do a low level design for an application. In my case it was library management system, Be ready for the follow up questions like how many tables are you going to use this low level design, normalizing the tables you have used. Write logic for one of the service in the low level design.
Tip 3 : For the managerial round, you should know why you used this partcular tech stack.
Tip 1 : Only mention those things in projects which you have really done in your organization. Morgan stanley is particular rigorous about the projects.
Tip 2 : Be sure to highlight what business values your project brought to the organization
I was interviewed before Jun 2016.
Algorithm to find the largest number in an array
Initialize a variable to store the largest number
Loop through the array and compare each element with the current largest number
If the element is larger, update the largest number variable
Return the largest number
DB is a good choice due to its scalability, reliability, and flexibility.
DB allows for easy scaling of data storage and retrieval.
It provides reliable data management and backup options.
DB can be customized to fit the specific needs of an organization.
Examples include MySQL, MongoDB, and Oracle.
DB is widely used in various industries such as finance, healthcare, and e-commerce.
I was interviewed in Jun 2017.
I was interviewed in Dec 2016.
Debugging steps for a slow web portal
Check server load and resource usage
Analyze network traffic and latency
Review code for inefficiencies and optimize
Use profiling tools to identify bottlenecks
Consider caching and content delivery networks
Test and monitor performance after changes
Denormalization, indexing, caching, and partitioning can improve query performance.
Denormalize the data to reduce the number of joins required for queries.
Create indexes on frequently queried columns to speed up search.
Cache frequently accessed data in memory to avoid disk reads.
Partition large tables into smaller ones to reduce the amount of data that needs to be scanned.
Use query optimization techniques like query re...
Sorting algorithm organizes data in a specific order.
Choose a sorting algorithm based on the data size and type.
Common sorting algorithms include bubble sort, insertion sort, and quicksort.
Implement the chosen algorithm in code.
Test the algorithm with sample data to ensure it sorts correctly.
My parents inspire me the most.
Their hard work and dedication to providing for our family motivates me to work hard.
Their unwavering support and encouragement has helped me overcome challenges.
Their values and principles have shaped me into the person I am today.
Seeing their sacrifices and selflessness inspires me to be a better person.
A leader should possess qualities like vision, communication, empathy, integrity, and adaptability.
Vision: Ability to see the big picture and set goals accordingly
Communication: Ability to convey ideas clearly and listen actively
Empathy: Ability to understand and relate to others' emotions and perspectives
Integrity: Consistency in values, actions, and decisions
Adaptability: Ability to adjust to changing circumstances a
Morgan Stanley is a top-tier investment bank with a strong reputation for excellence and innovation.
Morgan Stanley has a long history of success in the financial industry
The company is known for its innovative approach to investment banking
Morgan Stanley has a global presence and offers a wide range of services to clients
The firm has a strong commitment to diversity and inclusion
Morgan Stanley is a great place to work
based on 1 interview
Interview experience
Associate
10.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
5.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Vice President
4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Analyst
2.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
2.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Morgan Stanley
Goldman Sachs
TCS
Bank of America