nil96
1
please suggest where did i have done the mistake in understanding the qstn…
TestCase
1
3
6 0 0
I randomly download some code and tried this input given answer is 0.can anyone explain why 0 and not 3.
mine answer 3 explanation given below:----
3 3 0
3 2 1
2 2 2
pudge
2
yeah answer for above test case is 3, your assumption is correct. May be this question has weak test cases i think so.
1 Like
nil96
3
No more than two three code checked all giving same answer…
pudge
4
just try to code your logic and submit. you may get accepted if your logic is perfectly correct.