News

First we check whether the String remStr has the repeated character that matches the last char of the parent String. If that is so then we have to keep removing that character before concatenating ...