InterviewBit Problems   Distribute Candy : Unsolved

It could be done in linear time complexity using recursion (2)
Incorrect test cases (3)
Unexpected answer (2)
I didn't understand well the question (1)
Wrong Solution in Editorial (2)
Can somebody explain why this is the expected output? (2)
Children with same rating next to each other (3)
Why this error is coming : (1)
Distribute Candy: Invalid test (1)
Nevermind, found the problem (1)
"Children with a higher rating get more candies than their neighbors." So, if we (3)