Mastering Morgan Stanley's String Functional Programming Challenge: A Newbie's Journey

morganstanley | | Interview Experience

Interview Date: Not specified
Result: Not specified
Difficulty: Not specified

Interview Process

The interview lasted 75 minutes and consisted of 10 multiple-choice questions related to statistics, followed by two coding questions. The statistics questions covered basic topics such as probability, normal distribution, Poisson distribution, and matrix operations.

Technical Questions

  1. Statistics Questions

    • Basic probability
    • Normal distribution
    • Poisson distribution
    • Matrix operations
  2. Coding Questions

    • First Coding Question: Write a function to select all words in a string that have a frequency greater than or equal to k.
    • Second Coding Question: Compose five predefined functions (add, square, splitter, max, min) into a new function. The candidate did not need to define these functions but was required to demonstrate how to combine them.

Tips & Insights

Focus on mastering basic statistics and functional programming concepts, as well as practicing coding questions that involve string manipulation and function composition.