Loading

摘要: 561. 数组拆分 I Difficulty: 简单 给定长度为 2n的整数数组 nums ,你的任务是将这些数分成 n对, 例如 (a1, b1), (a2, b2), ..., (an, bn),使得从 1 到 n` 的 min(ai, bi)总和最大。 返回该 最大总和 。 示例 1: 输入: 阅读全文
posted @ 2021-02-16 13:34 yoyuLiu 阅读(31) 评论(0) 推荐(0) 编辑