ππ Morgan Stanley (Code to Give) Online Assessment Questions
- Result
- Ongoing
- Posted
- 23 Feb 2025
Summary
I recently participated in the Morgan Stanley (Code to Give) Online Assessment, which featured three sections: Debugging, Aptitude, and a Coding Round, covering problems like House Robber and variants of array manipulation challenges.
How it went
I recently took the Morgan Stanley (Code to Give) Online Assessment. The assessment was structured into three distinct sections.
Debugging Section
This section comprised 10 questions that I had to complete within 20 minutes. The problems were primarily focused on easy syntax-related issues, including tasks like correcting code for matrix addition, bubble sort, selection sort, and string comparison. All of them required only minor adjustments.
Aptitude Section
The Aptitude section consisted of 24 general aptitude questions, for which I was allotted 40 minutes.
Coding Round
The final section was the Coding Round, where I had 60 minutes to solve 3 questions.
Questions asked (3)
- 01
House Robber
Data Structures & Algorithms Β· Medium
Open the problemI encountered a problem similar to 'House Robber I', though its exact wording was different.
- 02
Shortest Subarray to Be Removed to Make Array Sorted
Data Structures & Algorithms Β· Medium
Open the problemThe task was to find the number of subarrays that could be removed such that the remaining array became strictly increasing and non-empty.
- 03
Subarrays with K Different Integers
Data Structures & Algorithms Β· Hard
Open the problemThis problem asked me to find subarrays with exactly k different integers, presented with different wording than the standard LeetCode problem.