Pergunta de entrevista da empresa Yandex

problem on two pointers, erase all # from string