refactoring
Different approach
Different approach
Rotating through reversions
Longest substring without repetitions