Solicité el puesto a través de la escuela superior o la universidad. Acudí a una entrevista en Bloomberg
Entrevista
It was a phone interview and HackerRank assignment.
On the phone, the interviewer described the position and the teams working at Bloomberg and then the candidate has 30 minutes for a coding assignment (in any programming language in the HackerRank options which were given in advance ).
Preguntas de entrevista [1]
Pregunta 1
The assignment was to write a function that gets two characters arrays - the first is the string and the second is the substring - and removes all appearances of the given substring.
Two restrictions:
1. Memory complexity is O(1) (Cannot change to String, cannot allocate memory for another array).
2. Cannot write a character in the same position more than once (naive solution doesn't fit against this limit).