+ 1

during code why did test cases 3,4,5 are hidden

due to hidden how can we find our mistakes that cause to failed test case

17th Aug 2020, 9:14 AM
Sangeetha
2 Respuestas
+ 3
They are hidden because if you know all the answers, its pretty easy to write code that just satisfies the shown answers and not write good general working code like the excersize is trying to get you to. You need to think of edge cases. Weird inputs that normally wont happen, but could. Take the code out of there and start giving it your own tests, you can come up with as many of those as you want.
17th Aug 2020, 9:19 AM
Slick
Slick - avatar
+ 1
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:50 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar