Skip to content

Commit 427f075

Browse files
Update 0103-zigzag-order-traversal.md
1 parent 8488f46 commit 427f075

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dsa-solutions/lc-solutions/0100-0199/0103-zigzag-order-traversal.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Output: [[3],[20,9],[15,7]]
2727

2828
### Constraints
2929

30-
- `The number of nodes in the tree is in the range $[0, 2000]$.`
31-
- `$-100 \leq \text{Node.val} \leq 100$`
30+
- The number of nodes in the tree is in the range $[0, 2000]$.
31+
- $-100 \leq \text{Node.val} \leq 100$
3232

3333
---
3434

@@ -123,8 +123,8 @@ public:
123123

124124
#### Complexity Analysis
125125

126-
- Time Complexity: O(n) where n is the number of nodes in the binary tree.
127-
- Space Complexity: O(h) where h is the height of the binary tree.
126+
- Time Complexity: $O(n)$ where n is the number of nodes in the binary tree.
127+
- Space Complexity: $O(h)$ where h is the height of the binary tree.
128128

129129
</tabItem>
130130
</Tabs>

0 commit comments

Comments
 (0)