Coding Challenge · INTERMEDIATE
A hotel receptionist is entering guest names into the system, but sometimes accidentally types two identical consecutive letters where only one should appear. Given a guest's name as a string, return a new string with all consecutive duplicate letters reduced to a single letter. The objective is to correct the name by …