Skip to content

Commit 6e549a1

Browse files
committed
Fix run time on 348.
1 parent 4e12f06 commit 6e549a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

leetcode/medium/348_design_tic-tac-toe.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
## Solution
44

5-
- Runtime: O(N)
5+
- Run-time: O(1)
66
- Space: O(N)
77
- N = Given N
88

9-
This is a fair production code quality example.
109
Make sure when you code, you break down your methods else you may fail this question.
1110

1211
To achieve O(N) run-time, we can use a summation system for each row, column and the two diagonals.

0 commit comments

Comments
 (0)