https://ide.codingblocks.com/s/58796
Please tell me if I’m logically wrong somewhere or output format is wrong.
https://ide.codingblocks.com/s/58796
Please tell me if I’m logically wrong somewhere or output format is wrong.
@harshvapilani https://ide.codingblocks.com/s/58805 i have corrected your code in this problem you have to sort the array first and then apply search through loop. and second thing is that your output should match with sample one.
Oh Thanks a lot. I get it now !
Hey Harsh, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “Ask Doubt” section, when your doubt is resolved.