Pergunta de entrevista da empresa JetHead Development

One problem we had to solve was modifying some server and client code they provided to us so that the client could send some character and a number, X, to the server who would then return that character X many times. (e.g. C: A 3, S: AAA)

Resposta da entrevista

Sigiloso

15 de dez. de 2016

It took me until the end of the session to figure out an answer, and even then my code was still buggy. Regardless, I chose to have the server write the output to the buffer within a for loop X many times, but I don't think I read from the buffer at proper intervals, as I often polluted the output with garbage values.