Skip to content

Commit 2edebe4

Browse files
authored
Update 257. Binary Tree Paths.cpp
1 parent c2fa414 commit 2edebe4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

C++/257. Binary Tree Paths.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class Solution {
1818
return res;
1919
}
2020

21-
private:
2221
void DFS(TreeNode* root, vector<string>& res, string path){
2322
path += to_string(root->val);
2423
if(root->left || root->right) path += "->";

0 commit comments

Comments
 (0)