摘要: Implement a SnapshotArray that supports the following interface: SnapshotArray(int length) initializes an array-like data structure with the given len 阅读全文
posted @ 2020-10-06 13:42 CNoodle 阅读(231) 评论(0) 推荐(0)
摘要: You are given a string s. Reorder the string using the following algorithm: Pick the smallest character from s and append it to the result. Pick the s 阅读全文
posted @ 2020-10-06 10:00 CNoodle 阅读(291) 评论(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 @ 2020-10-06 01:58 CNoodle 阅读(341) 评论(0) 推荐(0)