Lexicographically Largest Circular Counter

Company: Goldman Sachs_26july

Difficulty: medium