Pergunta de entrevista da empresa Bloomberg

Give me an incomplete code, which as segmentation fault, the interviewer asked me to debug it using any debug methods.

Resposta da entrevista

Sigiloso

19 de dez. de 2014

I gave my solution, but the interview didnot comment my solution.