mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2026-02-02 18:39:09 +08:00
Update
This commit is contained in:
@@ -261,7 +261,7 @@ public:
|
||||
vector<int> findMode(TreeNode* root) {
|
||||
count = 0;
|
||||
maxCount = 0;
|
||||
TreeNode* pre = NULL; // 记录前一个节点
|
||||
pre = NULL; // 记录前一个节点
|
||||
result.clear();
|
||||
|
||||
searchBST(root);
|
||||
|
||||
Reference in New Issue
Block a user