Construct the Longest New String

mediumSolve on LeetCodeLast edited: July 7, 2025