[Solved] Fair Distribution of Cookies LeetCode Contest Problem
![[Solved] Fair Distribution of Cookies LeetCode Contest Problem [Solved] Fair Distribution of Cookies LeetCode Contest Problem](https://realcoder.techss24.com/wp-content/uploads/2022/06/Solved-Fair-Distribution-of-Cookies-LeetCode-Contest-Problem.png)
Fair Distribution of Cookies: You are given an integer array cookies, where cookies[i] denotes the number of cookies in the ith bag. You are also given an integer k that denotes the number of children to distribute all the bags of cookies to. All the cookies in the same…