Given a string str, the task is to count all possible sub-strings of the given string that are prefix of the same string. Examples:.
確定! 回上一頁