D2. Remove the Substring (hard version)(思维+贪心)

NoSuchKey