According to definition of prefix on Wikipedia :" A proper prefix of a string is not equal to the string itself."
so how for "test case 1: <<>> " answer 4 is possible ? plz explain if i am going wrong.
According to definition of prefix on Wikipedia :" A proper prefix of a string is not equal to the string itself."
so how for "test case 1: <<>> " answer 4 is possible ? plz explain if i am going wrong.