← Morgan Stanley questions
CodingReported in a candidate post, Jul 2025

Fit the most processes into fixed memory

Filed under Morgan Stanley

Processes have sizes (4, 3, 2, 10, 5) and the memory is 10 units. Choose which processes to load. The report says a greedy choice was not optimal and a knapsack approach was used, but does not state…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Morgan Stanley questions

Collected from public candidate posts and coding forums. Updated Nov 2026.