CHAT_WITH_HER's blog

By CHAT_WITH_HER, history, 4 years ago, In English

I tried to think of testcase where my testcase fails. But, unfortunately i couldn't up with any.

Here is the question

and

Here is my solution

Can anyone tell me any testcase where my code fails ?

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
4 years ago, hide # |
← Rev. 2  
Vote: I like it +3 Vote: I do not like it
Testcase

Your output: 1

Answer: 2