Filter interviews by
Count occurrences of a character in a string and output in a specific format.
Use a hash table to store the count of each character.
Loop through the string and update the count in the hash table.
Create the output string using the hash table.
HashSet is implemented using a HashMap internally. Same hashcode is generated when two objects have the same value for hashCode() and equals() methods.
HashSet internally uses a HashMap to store its elements.
The hashcode of an object is generated using the hashCode() method.
If two objects have the same value for hashCode() and equals() methods, they will generate the same hashcode.
For example, if two String objects...
SQL Cursor is a database object used to manipulate data row by row.
Cursor is used to fetch and process data row by row
Index is a database object used to speed up data retrieval
Aggregate functions are used to perform calculations on a set of values
Examples of aggregate functions are SUM, AVG, COUNT, MAX, MIN
To check palindrome and anagram of a string with O(n), use a hash table to store character frequencies.
Create a hash table to store the frequency of each character in the string.
For palindrome, check that no more than one character has an odd frequency.
For anagram, compare the hash tables of the two strings.
If the hash tables are equal, the strings are anagrams.
If the hash tables differ by only one character, the ...
Swaps are financial derivatives where two parties exchange cash flows based on different financial instruments.
Interest Rate Swap: Exchange of fixed interest rate for floating rate (e.g., Company A pays fixed, Company B pays LIBOR).
Currency Swap: Exchange of principal and interest in different currencies (e.g., USD for EUR).
Commodity Swap: Exchange of cash flows related to commodity prices (e.g., fixed price for o...
Black-Scholes-Merton (BSM) model is a mathematical model used for pricing options.
BSM model assumes constant risk-free rate, constant volatility, and lognormal distribution of stock prices.
It assumes no dividends are paid during the option's life.
The model assumes the option can only be exercised at expiration.
The underlying stock follows a geometric Brownian motion.
The model is used to calculate the theoretical p...
Collections in Java are used to store and manipulate groups of objects.
Collections framework provides interfaces (List, Set, Map) and classes (ArrayList, HashSet, HashMap) for storing and manipulating data
Collections offer methods for adding, removing, and accessing elements in a collection
Collections can be sorted, filtered, and iterated over using various methods
The array problem involves manipulating an array of strings.
Use built-in array methods like map, filter, and reduce for efficient manipulation.
Consider sorting the array based on specific criteria.
Think about using regular expressions for string manipulation.
Handle edge cases like empty arrays or null values appropriately.
Swift regulation has undergone new changes.
The changes aim to improve transparency and reduce risks in the financial industry.
One of the changes is the introduction of the Legal Entity Identifier (LEI) requirement for certain transactions.
Another change is the implementation of the ISO 20022 messaging standard for cross-border payments.
The changes will impact financial institutions and their clients.
Compliance wit...
Annotations used in Spring Framework for defining components and services.
Annotations like @Component, @Service, and @Controller are used for defining components in Spring Framework.
@RestController is used for defining RESTful web services.
@Configuration is used for defining configuration classes.
@Transactional is used for defining transactional methods.
All these annotations help in defining and managing dependenc...
I appeared for an interview in May 2025, where I was asked the following questions.
Black-Scholes-Merton (BSM) model is a mathematical model used for pricing options.
BSM model assumes constant risk-free rate, constant volatility, and lognormal distribution of stock prices.
It assumes no dividends are paid during the option's life.
The model assumes the option can only be exercised at expiration.
The underlying stock follows a geometric Brownian motion.
The model is used to calculate the theoretical price ...
Options are financial instruments that give the holder the right, but not the obligation, to buy or sell an underlying asset at a specified price within a specific time period.
Options can be call options or put options
Call options give the holder the right to buy the underlying asset at a specified price within a specific time period
Put options give the holder the right to sell the underlying asset at a specified price...
ATM option delta is 0.5 because it represents a 50% chance of the option expiring in-the-money.
ATM option delta is 0.5 because it is at-the-money, meaning the option strike price is equal to the current underlying asset price.
Delta measures the sensitivity of an option's price to changes in the underlying asset price.
A delta of 0.5 indicates a 50% probability of the option expiring in-the-money.
ATM options have the hig...
I will establish clear policies, procedures, and controls to ensure data integrity and minimize risks.
Implementing data governance frameworks to define roles, responsibilities, and processes for managing data
Leveraging technology solutions such as data encryption, access controls, and monitoring tools
Regularly conducting risk assessments to identify potential vulnerabilities and mitigate them
Ensuring compliance with re...
Risk for projects can be estimated by considering factors such as project complexity, team experience, stakeholder involvement, and external dependencies.
Assess project complexity and potential challenges
Evaluate team experience and expertise in handling similar projects
Consider stakeholder involvement and communication
Identify external dependencies and potential risks
Use risk management techniques such as risk registe...
Onboarding stakeholders for cloud migration involves communication, training, and collaboration.
Communicate the benefits of cloud migration to stakeholders, addressing any concerns or questions they may have.
Provide training sessions to educate stakeholders on the new cloud technology and how it will impact their work.
Collaborate with stakeholders to gather feedback, address any issues, and ensure a smooth transition t...
Singapore WHT stands for Singapore Withholding Tax, which is a tax deducted at source on certain types of income.
Singapore WHT is applicable on payments such as interest, royalties, and services provided by non-residents.
The tax rate for Singapore WHT varies depending on the type of income and the tax treaty between Singapore and the country of the recipient.
Singapore WHT is usually deducted by the payer of the income ...
CRS stands for Common Reporting Standard, a global standard for the automatic exchange of financial account information between tax authorities.
CRS was developed by the Organisation for Economic Co-operation and Development (OECD) to combat tax evasion.
It requires financial institutions to collect and report information on foreign tax residents to their local tax authorities.
Over 100 countries have committed to impleme...
Retrieve data from dataverse model design problem
Identify the specific data to be retrieved from the dataverse model
Create a query to extract the desired data
Utilize appropriate filters and conditions to narrow down the search results
Implement the query in the code to fetch the data
Handle any errors or exceptions that may occur during the retrieval process
Coding test based on data structures and java.
I applied via Approached by Company and was interviewed in Jun 2024. There were 2 interview rounds.
I appeared for an interview in Jan 2025.
Hackathon Test with 2 medium level coding question.
Technical Video Interview- Java concepts mostly related to Java 8, 1 coding program and some db questions were asked.
I am familiar with design patterns such as Singleton, Factory, Observer, and MVC.
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Factory pattern creates objects without specifying the exact class of object that will be created.
Observer pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and up...
Design a system for a company in hospitality
Implement a centralized reservation system for booking rooms, tables, and other services
Incorporate a customer feedback system to gather reviews and ratings for continuous improvement
Include a staff scheduling and management module to efficiently allocate resources
Integrate a payment gateway for secure transactions and invoicing
Utilize data analytics to track customer prefere...
Implemented threads in a multi-threaded application to improve performance and concurrency.
Implemented threads in a multi-threaded application to handle multiple tasks concurrently
Used threads to improve performance by parallelizing tasks
Implemented threads in a web server to handle multiple client requests simultaneously
Top trending discussions
Some of the top questions asked at the Morgan Stanley interview for experienced candidates -
The duration of Morgan Stanley interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 65 interview experiences
Difficulty level
Duration
based on 1.8k reviews
Rating in categories
Associate
3.5k
salaries
| ₹5.5 L/yr - ₹20 L/yr |
Senior Manager
2.5k
salaries
| ₹16.2 L/yr - ₹55 L/yr |
Manager
1.9k
salaries
| ₹10.6 L/yr - ₹41 L/yr |
Senior Associate
1.7k
salaries
| ₹7.3 L/yr - ₹28 L/yr |
Vice President
1.4k
salaries
| ₹22 L/yr - ₹81 L/yr |
JPMorgan Chase & Co.
Goldman Sachs
TCS
Deloitte