0
In code coach why are test cases #3 to #5 hidden?
5 Answers
+ 11
Hasnain [ACTIVE CHALLENGER] ,
> regarding test cases, pro-members see the same as other members!
+ 9
It is done so that you cannot adjust your code to accommodate the five test cases, but to provide a general solution, the correctness of which is tested by the test cases.
Otherwise, you could just write one solution for each test case and be done with it. That is not how it is intended to be (neither how test driven development works).
+ 8
Some test cases are hidden for everyone so noone can cheat to solve challenges.
+ 6
In any Code Coach task, only the first two cases are open IIRC. The rest are always hidden.
I'm guessing the hidden cases are there to stimulate solver's creativity and curiosity, to open one's mind to possibilities and try their ideas on to try and beat the hidden cases.
For actual reason why, you might be better off to ask SoloLearn admins.
+ 2
You need pro membership to see hidden test cases