摘要: This is an interactive problem. You have a sorted array of unique elements and an unknown size. You do not have an access to the array but you can use 阅读全文
posted @ 2020-03-08 15:40 CNoodle 阅读(847) 评论(0) 推荐(0)
摘要: Given an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order. Example 1: Input: nums = [1 阅读全文
posted @ 2020-03-08 03:58 CNoodle 阅读(304) 评论(0) 推荐(0)