Microsoft Online Assessment Lexicographically Smallest String Problem

Problem overview from a real Microsoft interview:

Learn how to solve the Microsoft OA problem for the lexicographically smallest string. Group indices using Union-Find to sort characters in connected components.

Check more interview questions and experiences about Microsoft

Please log in to view interview details