SLB interview question

remove consecutive string character program