We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
check the boundary conditions thoroughly ... and the logic ... there is a glitch in the first logic that hits the mind ...download input test cases and run thoroughly .. u can also look into my solution ..but i wont recommend that ...
it is a very good problem and i advise you to not to give up .!! and try even harder and better
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Count Luck
You are viewing a single comment's thread. Return to all comments →
check the boundary conditions thoroughly ... and the logic ... there is a glitch in the first logic that hits the mind ...download input test cases and run thoroughly .. u can also look into my solution ..but i wont recommend that ... it is a very good problem and i advise you to not to give up .!! and try even harder and better