Given a string, you have to delete all characters which differ from atleast one of its neighbors (the deletion of all eligible character happen at once).
Find the number of rounds after which deletion is not possible.
I create a video discussing the ideas used in this problem








