Medium LeetCode 2226. Maximum Candies Allocated to K Children Solution in Java, C++, Python & More | Explanation + Code CoderIndeed July 08, 2026