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.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Costly Intervals
You are viewing a single comment's thread. Return to all comments →
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.