---
title: "Discussion on \"LeetCode 1431. Kids With the Greatest Number of Candies Java Solution\" | Hashnode"
description: "Discussion on \"LeetCode 1431. Kids With the Greatest Number of Candies Java Solution\". Problem\nKids With the Greatest Number of Candies - LeetCode\nApproach\n\nAlgorithm\n\nFirst, find the maximum value in the given array.\n\nTraverse each element in the array, and for each kid, check if adding the extra candies makes their candy count greate..."
url: "https://hashnode.com/posts/leetcode-1431-kids-with-the-greatest-number-of-candies-java-solution/64c67e718aab23784ade7c85"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode 1431. Kids With the Greatest Number of Candies Java Solution](https://eunhanlee.hashnode.dev/leetcode-1431-kids-with-the-greatest-number-of-candies-java-solution?utm_source=hashnode&utm_medium=feed)

Problem Kids With the Greatest Number of Candies - LeetCode Approach Algorithm First, find the maximum value in the given array. Traverse each element in the array, and for each kid, check if adding the extra candies makes their candy count greate...

Jul 30, 2023 · 2 min read · eunhanlee.hashnode.dev  
Read the article

-   [#algorithm](https://hashnode.com/tag/algorithm)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#java](https://hashnode.com/tag/java)
-   [#problem-solving](https://hashnode.com/tag/problem-solving)
-   [#1431-kids-with-the-greatest-number-of-candies](https://hashnode.com/tag/1431-kids-with-the-greatest-number-of-candies)

## Written by

[Han](https://hashnode.com/@EunHaSu)

@EunHaSu · VA, US

  
[View profile](https://hashnode.com/@EunHaSu)

Java, Android, Algorithm

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
