Driver code
public static void Main ( String [ ] args ) { Console . WriteLine ( minLexRotation ( " GEEKSFORGEEKS " ) ) ; Console . WriteLine ( minLexRotation ( " GEEKSQUIZ " ) ) ; Console . WriteLine ( minLexRotation ( " BCABDADAB " ) ) ; } }