摘要: 题目链接:https://leetcode-cn.com/problems/h-index-ii/ 题目描述: 给定一位研究者论文被引用次数的数组(被引用次数是非负整数),数组已经按照 升序排列 。编写一个方法,计算出研究者的 h 指数。 h 指数的定义: “h 代表“高引用次数”(high cit 阅读全文
posted @ 2021-03-15 17:05 Carrout 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://leetcode-cn.com/problems/find-two-non-overlapping-sub-arrays-each-with-target-sum/ 题目描述: 给你一个整数数组 arr 和一个整数值 target 。 请你在 arr 中找 两个互不重叠的子 阅读全文
posted @ 2021-03-15 11:51 Carrout 阅读(49) 评论(0) 推荐(0) 编辑