Not able to understand, which test case I am missing, I am getting 3/4 test cases passed. Tried the base case, the case when killed ID is not present.
My code:
Failing a test case ( kill process )
Hey @Vishal_234,
your code is failing for test cases like:
4 5
1 3 10 5
3 0 5 3
Expected Output:
5 10
Your Output:
5
Correct it.
Hope, this would help.
Give a like if you are satisfied.
1 Like