why test case [1,1,-2] gives false. Isn't it a loop from 0>1>2>0 (these are indices of array)
Posts made by surindersokhal110gmail.com
RE: Java 15ms Solution with Two auxiliary array. O(N) time.
Can someone explain why we are comparing index>=valid[i] in findValidMax.