Filter interviews by
Credit Default Swaps (CDS) provide risk management and investment opportunities by allowing parties to hedge against credit risk.
Risk Management: CDS allow investors to hedge against the risk of default on debt instruments.
Speculation: Investors can use CDS to speculate on the creditworthiness of a borrower, potentially profiting from changes in credit spreads.
Liquidity: CDS markets can provide liquidity for inves...
Use a hashmap to store the frequency of each character and then iterate through the string to find the first non-repeating character.
Create a hashmap to store the frequency of each character in the string.
Iterate through the string and update the frequency in the hashmap.
Iterate through the string again and return the first character with frequency 1.
Trapping rainwater involves calculating the volume of water that can be held between elevations in a landscape.
Use two-pointer technique to traverse the height array from both ends.
Calculate trapped water at each index based on the minimum of the maximum heights to the left and right.
Example: For heights [0,1,0,2,1,0,1,3,2,1,2,1], the trapped water is 6 units.
Consider edge cases like flat surfaces or descending he...
Design a distributed rate limiter for managing incoming requests.
Use a distributed key-value store like Redis to store request counts and timestamps.
Implement a token bucket algorithm to control the rate of incoming requests.
Use a distributed messaging system like Kafka for communication between rate limiter instances.
Consider using consistent hashing to evenly distribute requests among rate limiter instances.
Immutable classes are classes whose instances cannot be modified after creation.
Immutable classes have all fields marked as final and private.
They do not have any setter methods to modify the state of the object.
Any modification to an immutable object results in a new object being created.
Example of an immutable class: public class Person { private final String name; private final int age; public Person(Str...
Handling class imbalance involves techniques such as resampling, adjusting class weights, and using ensemble methods.
Resampling techniques like oversampling the minority class or undersampling the majority class can help balance the classes.
Adjusting class weights during model training can give more importance to the minority class.
Using ensemble methods like bagging or boosting can improve the performance on imba...
To improve model performance beyond hyperopt, consider ensemble methods, feature engineering, and data augmentation.
Implement ensemble methods like bagging, boosting, or stacking to combine multiple models.
Perform feature engineering to create new informative features or transform existing ones.
Apply data augmentation techniques to increase the size and diversity of the training data.
Consider using advanced algori...
XGBoost is an optimized version of Gradient Boosting Machine (GBM) with additional features and improvements.
XGBoost is a scalable and efficient implementation of gradient boosting algorithm.
XGBoost uses a more regularized model formalization to control overfitting.
XGBoost supports parallel processing and can handle large datasets.
XGBoost provides built-in regularization techniques like L1 and L2 regularization.
XG...
To tune model performance, adjust hyperparameters, preprocess data, increase training data, and use ensemble methods.
Adjust hyperparameters such as learning rate, regularization, and batch size.
Preprocess data by scaling, normalizing, or handling missing values.
Increase training data to reduce overfitting and improve generalization.
Use ensemble methods like bagging or boosting to combine multiple models.
Perform cr...
The gas and track problem involves determining the amount of gas required to complete a track.
Calculate the distance of the track
Determine the fuel efficiency of the vehicle
Divide the distance by the fuel efficiency to get the required amount of gas
I applied via Recruitment Consulltant and was interviewed in Jul 2021. There were 6 interview rounds.
I applied via Approached by Company and was interviewed in May 2024. There were 4 interview rounds.
I chose Goldman Sachs for its global reach and diverse opportunities. I left Morgan Stanley to pursue new challenges and growth.
Goldman Sachs offers a wider range of global opportunities compared to Morgan Stanley
I was seeking new challenges and growth that I believed Goldman Sachs could provide
I was attracted to the diverse and innovative culture at Goldman Sachs
I will provide training and guidance to help the team learn and adapt to handling credit card transactions.
Provide thorough training on credit card processing procedures
Offer guidance and support as team members gain experience
Implement regular check-ins and feedback sessions to address any challenges
Encourage open communication and a collaborative team environment
Utilize resources such as online tutorials or industry ...
I appeared for an interview in Nov 2024, where I was asked the following questions.
Credit Default Swaps (CDS) provide risk management and investment opportunities by allowing parties to hedge against credit risk.
Risk Management: CDS allow investors to hedge against the risk of default on debt instruments.
Speculation: Investors can use CDS to speculate on the creditworthiness of a borrower, potentially profiting from changes in credit spreads.
Liquidity: CDS markets can provide liquidity for investors ...
I applied via Referral and was interviewed in Feb 2024. There were 4 interview rounds.
CoderPad test similiar to rhackerRank. 2 question asked. Largest tree and first non repeating char in string
I applied via Company Website and was interviewed in Apr 2024. There was 1 interview round.
Use a hashmap to store the frequency of each character and then iterate through the string to find the first non-repeating character.
Create a hashmap to store the frequency of each character in the string.
Iterate through the string and update the frequency in the hashmap.
Iterate through the string again and return the first character with frequency 1.
Trapping rainwater involves calculating the volume of water that can be held between elevations in a landscape.
Use two-pointer technique to traverse the height array from both ends.
Calculate trapped water at each index based on the minimum of the maximum heights to the left and right.
Example: For heights [0,1,0,2,1,0,1,3,2,1,2,1], the trapped water is 6 units.
Consider edge cases like flat surfaces or descending heights...
I applied via Company Website
1st was HackerRank OA. 2nd round was Coder Pad round.
I applied via Approached by Company and was interviewed in Nov 2023. There were 3 interview rounds.
I applied via Approached by Company and was interviewed in Jan 2024. There were 3 interview rounds.
Medium to easy level leetcode question
Medium question coderpad round
Top trending discussions
based on 20 interview experiences
Difficulty level
Duration
based on 179 reviews
Rating in categories
Associate
2.5k
salaries
| ₹11.2 L/yr - ₹42 L/yr |
Analyst
1.9k
salaries
| ₹13.6 L/yr - ₹25 L/yr |
Vice President
1.8k
salaries
| ₹19.5 L/yr - ₹75.7 L/yr |
Senior Analyst
1.2k
salaries
| ₹5.4 L/yr - ₹19.4 L/yr |
Senior Associate
372
salaries
| ₹9.5 L/yr - ₹35.1 L/yr |
JPMorgan Chase & Co.
Morgan Stanley
TCS
Amazon