Perguntas de entrevista de Internship Software

24.806 Perguntas de entrevista compartilhadas pelos candidatos | internship software

Given an array of character you must delete all the characters that got repeated 3 or more times consecutively and add '0' in the end of the array for every deleted character Example: "aabbbbcdddee" -> "aacee0000000" "22221" ->"00001 " The problem must be solved in: O(1) memory O(n) time And you can't overwrite a cell in the array more than once.
avatar

Software Engineer(Internship)

Entrevista na empresa Bloomberg

4
22 de ago. de 2019

Given an array of character you must delete all the characters that got repeated 3 or more times consecutively and add '0' in the end of the array for every deleted character Example: "aabbbbcdddee" -> "aacee0000000" "22221" ->"00001 " The problem must be solved in: O(1) memory O(n) time And you can't overwrite a cell in the array more than once.

Exibindo 1 a 10 perguntas de entrevista

O Glassdoor tem 24.806 perguntas e relatórios de entrevistas do cargo de Internship software. Prepare-se para sua entrevista. Conquiste a vaga perfeita na empresa dos seus sonhos!