Given a string "abaca" minimum number of operations to make the string empty.
example:
operation 1: remove b -> aaca
operation 2: remove c -> aaa
operation 3: since all the a's are together remove all a's at once
Fique por dentro de todas as oportunidades e dicas internas seguindo as empresas de seus sonhos.
Buscas de vagas
Comece a buscar vagas para receber atualizações e recomendações personalizadas.
Pergunta de entrevista da empresa Amazon: Given a string "abaca" minimum number of operations to make the string empty.
example:
operation 1: remove b -> aaca
operation 2: remove c -> aaa
operation 3: since all the a's are together remove all a's at once | Glassdoor