← Morgan Stanley questions

Coding round: lexicographically smallest string after removing duplicates; minimum fountai

Filed under Morgan Stanley

Two online coding problems. (1) Form the lexicographically smallest string by removing duplicate characters (assumed to be the standard Remove Duplicate Letters problem: each letter appears exactly…

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.