Question 5

Remove 3 consecutive duplicates from string.

INPUT:aabbbaccddddc

OUTPUT:cdc

[advanced_iframe securitykey=”undefined” src=”https://code.kodnest.com/” width=”100%” height=”600″]

×