摘要: You are given an integer finalSum. Split it into a sum of a maximum number of unique positive even integers. For example, given finalSum = 12, the fol 阅读全文
posted @ 2023-07-06 10:04 CNoodle 阅读(34) 评论(0) 推荐(0) 编辑
摘要: There is a bag that consists of items, each item has a number 1, 0, or -1 written on it. You are given four non-negative integers numOnes, numZeros, n 阅读全文
posted @ 2023-07-06 06:57 CNoodle 阅读(7) 评论(0) 推荐(0) 编辑