Skip to content

Commit ce1021d

Browse files
committed
Runtime: 10 ms (Top 30.76%) | Memory: 6.8 MB (Top 63.53%)
1 parent 3669d37 commit ce1021d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/V/Verify Preorder Serialization of a Binary Tree/Verify Preorder Serialization of a Binary Tree.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 10 ms (Top 30.76%) | Memory: 6.8 MB (Top 63.53%)
12
class Solution {
23
public:
34
bool isValidSerialization(string preorder) {
@@ -11,4 +12,4 @@ class Solution {
1112
}
1213
return slots==0;
1314
}
14-
};
15+
};

0 commit comments

Comments
 (0)