Tag Archives: Two Characters

HackerRank : World CodeSprint 7- Two Characters

String always consists of two distinct alternating characters. For example, if string ‘s two distinct characters are xand y, then t could be xyxyx or yxyxy but not xxyy or xyyx. You can convert some string to string by deleting characters from . When you delete a character from , you must delete all occurrences of it in… Read More »