Beware Language Implementation When Using Codesignal
Anonymous User
635

I had to do an interview with code signal and it had different time limits for languages. No biggie. Alas C++ was limited to 0.5 seconds and the python was limited to 4 seconds. This meant for the given problem the C++ solution was impossible. For example, suppose the problem is to brute force check whether a > b in an array. The python and c++ code boils down to the same instructions but the 4 second time limit gives python an unfair edge. Hope this helps someone.

for (int i = 1; i < array.size(); ++i)
if (a <= b )
return false;

Comments (1)