Pergunta de entrevista da empresa Microsoft

Make erase function for a string. Design a system for tabs