• + 0 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.