Pergunta de entrevista da empresa Expedia Group

Minimum rotation to get lexicographical smallest string