![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
背包
涛涛酱
北邮研究僧在读
展开
-
【LeetCode 474】 Ones and Zeroes
题目描述 Given an array, strs, with strings consisting of only 0s and 1s. Also two integers m and n. Now your task is to find the maximum number of strings that you can form with given m 0s and n 1s. Each 0 and 1 can be used at most once. Example 1: Input: str原创 2020-05-10 22:40:42 · 86 阅读 · 0 评论 -
【LeetCode 518】 Coin Change 2
题目描述 You are given coins of different denominations and a total amount of money. Write a function to compute the number of combinations that make up that amount. You may assume that you have infinite number of each kind of coin. Example 1: Input: amount =原创 2020-05-10 21:13:08 · 106 阅读 · 0 评论