Break The Bricks
Asked at Morgan Stanley · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026
There are `n` bricks arranged in a row at positions numbered from `1` through `n`, inclusive. There is an array, `newtons[n]`, that contains an integer indicating the number of newtons required to smash a brick. (A newton is a unit of force.)
Loading the problem…
More Morgan Stanley interview questions
- Ethical Decision-Making: Addressing Suspicious Workplace Behavior
- Demonstrating Teamwork Contributions at Morgan Stanley
- Motivation for Morgan Stanley Investment Management Career
- Finding and Fixing a Critical Mistake
- String Subsequences
- Compute factorial of n