Make The String Great Problem

Make The String Great Problem — ExecCode Easy DSA Practice

Solve the Make The String Great problem on ExecCode. Free online easy DSA practice in String. Write and run code in Java, C++, Python — no signup required to run.

Description Given a string s of lower and upper case English letters. A good string is a string which doesn't have two adjacent characters s[i] and s[i + 1] where: 0 "aAcC" --> "cC" --> "" "abBAcC" --> "abBA" --> "aA" --> "" Example 3 Input: s = "s" Output: "s" Constraints 1 <=…

Practice Make The String Great free on ExecCode. Browse more ExecCode DSA problems.