can anybody help me in finding what’s wrong with the logic. Thanks in advanceMy Solution
I think you should sort your array first.
Link to my submission
(CodeChef: Practical coding for everyone)
1 Like
I think you should sort your array first.
Link to my submission
(CodeChef: Practical coding for everyone)