You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
剑指 Offer 40. 最小的k个数
标签:数组、分治、快速选择、排序、堆(优先队列); 难度:简单; 题目大意 描述:给定整数数组$arr$ ,再给定一个整数 $k$ 。 要求:返回数组 $arr$ 中最小的 $k$ 个数。 说明: $0 \le k \le arr.length \le 10000$ 。; $0 \le arr[i] \le 10000$ 。; 示例: 示例 1:; 示例 2...
https://algo.itcharge.cn/Solutions/Offer/zui-xiao-de-kge-shu-lcof/
Beta Was this translation helpful? Give feedback.
All reactions