2016-09-20から1日間の記事一覧
Problem Statement A string S is called a square if there is some string T such that S = T + T. For example, the strings "", aabaab" and "xxxx" are squares, but "a", "aabb" and "aabbaa" are not. You are given a String s. Find the longest sq…