2 ms·
I don't think this is a brainteaser. This question actually checks some real skills - can you deal with tricky number processing either at bit or math level, do
by viraptor 13y ago
I don't think this is a brainteaser. This question actually checks some real skills - can you deal with tricky number processing either at bit or math level, do you know that there are more negative than positive number representations in 2-complement.
I agree this may not be the greatest question and some people would fail to find asolution for reasons unrelated to their usual programming skills, but if that's not the only question... I don't see a big issue here.