mirror of
https://github.com/arkorty/LeetCode.git
synced 2026-03-17 16:51:46 +00:00
Refactor almost everything
This commit is contained in:
@@ -9,7 +9,7 @@ struct TreeNode {
|
||||
};
|
||||
|
||||
class Solution {
|
||||
public:
|
||||
public:
|
||||
TreeNode *searchBST(TreeNode *root, int val) {
|
||||
if (root == nullptr) {
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user