摘要:
给定整数 n 和 k,找到 1 到 n 中字典序第 k 小的数字。 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order 著作权归领扣网络所有。商业转载请联系官方授权,非商 阅读全文
摘要:
给定一个非负整数数组 nums 和一个整数 m ,你需要将这个数组分成 m 个非空的连续子数组。 设计一个算法使得这 m 个子数组各自和的最大值最小。 : 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/split-array-largest- 阅读全文