All sample test cases are passing but for test cases its giving wrong answer.What is wrong in the approach?
link-https://ide.codingblocks.com/s/237950
All sample test cases are passing but for test cases its giving wrong answer.What is wrong in the approach?
link-https://ide.codingblocks.com/s/237950