Class | Description |
---|---|
BentleyRotationByShuffling<T extends java.lang.Comparable> |
Problem: Rotate linear of size 'n' by 'kMax' positions, leftwards (counter-clockwise). Reference Jon Bentley |
BruteForceRotation<T extends java.lang.Comparable> | |
BruteForceRotationWithSpace<T extends java.lang.Comparable> |
Problem Reference: Rotate array of size 'n' by 'kMax' positions. |
DougMcIlroyAlgorithm<T extends java.lang.Comparable> |
Left Rotation: Flip left hand, flip right hand, flip both hands Right Rotation: Flip both hands, flip right hand, flip left hand Doug McIlroy |
GriesMillsRotation<T extends java.lang.Comparable> |