> Hidden test cases are to avoid hardcoded solutions
If that's the case, it's another way to prove my point that these portals are bad. I would expect that the company checks the submitted solutions so there is little reason to write "if (x == 5) return 1" style code if that's what you meant by hardcoded solutions.
If that's the case, it's another way to prove my point that these portals are bad. I would expect that the company checks the submitted solutions so there is little reason to write "if (x == 5) return 1" style code if that's what you meant by hardcoded solutions.