LeetCode #1431 “Kids With the Greatest Number of Candies”

Opening

Input: candies = [2,3,5,1,3]…