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.
according to question i write the code and it successfully cleared the sample test case.
but for remaining mu code fails, also on seeing the test case, i found that the answer is not according to question,
As A.T.Q. : result array contains either greater than k or -1 but in one test case i opened the result array contains no. less than k.
here is hackerrank costly intervals solution
according to question i write the code and it successfully cleared the sample test case. but for remaining mu code fails, also on seeing the test case, i found that the answer is not according to question, As A.T.Q. : result array contains either greater than k or -1 but in one test case i opened the result array contains no. less than k.
Would be great if the problem statement were written in understandable english....