Expedia Group interview question

Minimum rotation to get lexicographical smallest string