Pergunta de entrevista da empresa Two Sigma

The code test, they give you 4 test case, which is regular format. But there is a button for additional 20 test case. They are hidden the content of test case. I always failed two of them. and didn't know why. So I cannot improve my code.

Respostas da entrevista

Sigiloso

27 de nov. de 2013

think your code with absolutely no bug at all.

Sigiloso

9 de abr. de 2014

hmm I've passed all test cases... spent some tome on debugging, and eventually passed all test cases!

2

Sigiloso

20 de dez. de 2013

I just took their code test and I have found 2 out of the 4 test cases for Problem 2 were incorrect (if you go through their test cases manually you will find there are 2 test cases which are actually wrong). Unless you make same mistake as their test cases do, you will never pass all the test cases. I have a copy of the 4 test cases they give to candidates; I am not supposed to post them out I am afraid, otherwise everybody could take a look and confirm.