摘要: Given an unsorted array nums, reorder it such that nums[0] < nums[1] > nums[2] < nums[3].... Example 1: Input: nums = [1, 5, 1, 1, 6, 4] Output: One p 阅读全文
posted @ 2019-11-01 02:15 Schwifty 阅读(104) 评论(0) 推荐(0)
摘要: You are given an integer array nums and you have to return a new counts array. The counts array has the property where counts[i] is the number of smal 阅读全文
posted @ 2019-11-01 01:34 Schwifty 阅读(129) 评论(0) 推荐(0)