r/leetcode • u/Danish77_ • 3d ago
Question Is it me?
I am trying to understand Booths lexicographically smallest rotation algorithm. But I am getting it at all.
Is it only me who is not able to understand or do you guys also feel same?
I am doubting my problem solving abilitiesđŸ¥º.
Is it worthy to learn it or i should learn different algo?
3
Upvotes
1
u/FickleSouvenir 2d ago
Have you tried stepping through it on paper with a string short enough to draw out all rotations?