Skip to content

Commit b795469

Browse files
committed
0300-longest-increasing-subsequence.md Added complexity.
1 parent 47bbce0 commit b795469

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

problems/0300-longest-increasing-subsequence.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ Output: 1
3333
## Thoughts
3434
This problem can be solved using **Dynamic programming**.
3535

36-
Detailed solutions will be given later, and now only the best practices in 3 to 7 languages are given.
36+
Detailed solutions will be given later, and now only the best practices in 4 to 7 languages are given.
3737

3838
### Complexity
39-
* Time: `O()`.
40-
* Space: `O()`.
39+
* Time: `O(n * n)`.
40+
* Space: `O(n)`.
4141

4242
## C#
4343
```c#

0 commit comments

Comments
 (0)