Expedia Group Interview Question

Minimum rotation to get lexicographical smallest string