Search⌘ K
AI Features

Solution: Kids With the Greatest Number of Candies

Let's solve the Kids With the Greatest Number of Candies problem using the Knowing What to Track pattern.

Statement

Given an integer array candies of length n, where candies[i] represents the number of candies the ithi^{th} ...