Remove adjacent duplicate groups repeatedly | Meta Interview Question