Loading

摘要: LeetCode455. 分发饼干 题目链接:455. 分发饼干 独上高楼,望尽天涯 贪心的思路,将每块饼干都发给最合适的孩子,那么最后分发饼干的策略就是最合适的,即可满足最多的孩子。 class Solution { public: int findContentChildren(vector<i 阅读全文
posted @ 2023-01-30 15:18 BarcelonaTong 阅读(21) 评论(0) 推荐(0)