摘要: Given an array of integers arr and an integer k. Find the least number of unique integers after removing exactly k elements. Example 1: Input: arr = [ 阅读全文
posted @ 2021-03-12 15:32 CNoodle 阅读(436) 评论(0) 推荐(0)
摘要: One way to serialize a binary tree is to use pre-order traversal. When we encounter a non-null node, we record the node's value. If it is a null node, 阅读全文
posted @ 2021-03-12 01:38 CNoodle 阅读(68) 评论(0) 推荐(0)