Array
1431. Kids With the Greatest Number of Candies
For each kid, decide whether giving them extraCandies would make them have the most candies (tied-max counts). The observation: the maximum is fixed and doesn't depend on who receives the extra (the…
Loading…