A test case/ hint


#1

A=1 3 3 3 1
ans=7
candy allocated = 1 2 1 2 1
statement to remember = ```
Children with a higher rating get more candies than their neighbors.