包含标签:Leetcode刷题笔记 的文章
-
LeetCode 222. Count Complete Tree Nodes – 二分查找(Binary Search)系列题13
Given the root of a complete binary tree, return the number of the nodes in the tree. According to Wikipedia, every level, except possibly the last…… -
LeetCode 692. Top K Frequent Words – 前缀树(Trie Tree or Prefix Tree)系列题4
Given an array of strings words and an integer k, return the k most frequent strings. Return the answer sorted by the frequency from highest to low……