Assign Cookies Problem
Assign Cookies Problem — ExecCode Easy DSA Practice
Solve the Assign Cookies problem on ExecCode. Free online easy DSA practice in Arrays - Logic Building. Write and run code in Java, C++, Python — no signup required to run.
Description Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a greed factor g[i], which is the minimum size of a cookie that the child will be content with; and each cookie j has a…
Practice Assign Cookies free on ExecCode. Browse more ExecCode DSA problems.