Question d’entretien chez Yandex

problem on two pointers, erase all # from string