My code is correct in leetcode but here it is not passing single test case even sample case .
I think sample case is wrong it should be 4 as min diff 0;
Test Cases are not passing
hello @updesh13 please sahre the hacekrblocks link of this question and your code by saving it on ide.codingblocks.com .
How to search on hackerblocks. I am unable to find it on hackerblocks
Hey @updesh13 okay you can try any other questions till then i have asked the team to upload them in hackerblocks.
i will solve your doubt ASAP.
please wait.