Driver Code
string = " geeksforgeeks " NEW_LINE print ( " The ▁ input ▁ string ▁ is " , string ) NEW_LINE length = longestUniqueSubsttr ( string ) NEW_LINE print ( " The ▁ length ▁ of ▁ the ▁ longest ▁ non - repeating ▁ character ▁ substring ▁ is " , length ) NEW_LINE