Sollicitatievraag bij Morgan Stanley

One Leetcode Question which was a medium Leetcode.