Why the hidden test cases are not visible even after completing it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why the hidden test cases are not visible even after completing it

25th Apr 2020, 12:11 PM
kadambari.N
kadambari.N - avatar
3 Answers
+ 3
For an algorithm(steps in solving the problem ) to be correct, it must produce the same output for any given input. If all test cases were shown it will simply make us write the code with respect to the inputs shown not considering other inputs.
31st Jul 2020, 9:28 AM
BRYAND CHE
BRYAND CHE - avatar
+ 2
If the test cases were to be unlocked, people could just cheat and make output based on the input, but not much coding.
1st Nov 2020, 9:51 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 1
No you can't see them they are permanently closed
25th Apr 2020, 12:19 PM
Daljeet Singh
Daljeet Singh - avatar