+ 1
Is it possible to view the hidden test cases for the tasks
9 ответов
+ 7
And the reason is that if all test cases are visible you will somehow make your code to give that output.
+ 4
No it is hidden for a reason.
+ 3
In this case, you should learn basic software testing concepts :
https://youtu.be/T3q6QcCQZQg
Learn about Edge cases.
+ 2
You have to reread the task, reconsider your code, test it with your own inputs and try to figure out what may be wrong with your logic.
That's something you have to learn anyway, if you want to program.
You can share the task plus your attempt with us, though. Maybe we can help you figure out what's wrong.
Also, many former posts discuss certain recurring problems with the tasks, so maybe you just need to look around a bit in here.
+ 2
If the test cases were to be unlocked, people could just cheat and make output based on the input, but not much coding.
+ 1
No it's not
+ 1
Thanks!
I ve been on a specific task for sometimes now and I can't seem to get the hidden cases right!
And it's difficult to know how to solve it especially when I don't know why!
0
It will be a kind of cheating if hidden test cases are visible although you have no such intention but test cases are made to approve your code running successfully.I hope you got the answer.
0
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.