📍📍 Morgan Stanley (Code to Give) Online Assessment Questions

morgan stanley logo
morgan stanley
Ongoing
February 23, 202535 reads

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.

Full Experience

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.

Interview Questions (3)

Q1
House Robber
Data Structures & AlgorithmsMedium

I encountered a problem similar to 'House Robber I', though its exact wording was different.

Q2
Shortest Subarray to Be Removed to Make Array Sorted
Data Structures & AlgorithmsMedium

The task was to find the number of subarrays that could be removed such that the remaining array became strictly increasing and non-empty.

Q3
Subarrays with K Different Integers
Data Structures & AlgorithmsHard

This problem asked me to find subarrays with exactly k different integers, presented with different wording than the standard LeetCode problem.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!