Please provide better Sample test cases


The problem is easy , and the problem statement is clear - author



Most of the time, I feel that problem setters only put trivial sample test cases for the problem
and put unclear incomplete explanations too.
Is it a rule ???:face_with_monocle:


I usually have that feeling, but then if I see that 100 other people have already solved it… then I know it’s not the statement or the test cases. Take into account that the test-cases are part of the problem, it’s on you to read the problem carefully and come up with edge cases or solve the problem by hand a few times to get more test cases. Sometimes very clear test cases is too much help!

1 Like