Tallan Interview Question

Given a string remove all consecutive duplicates.