Skip to content

Commit 02dfb11

Browse files
author
Joseph Luce
authored
Update 406_queue_reconstruction_by_height.md
1 parent b88cf40 commit 02dfb11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leetcode/medium/406_queue_reconstruction_by_height.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Insertion:
3030
6. [[5,0], [7,0], [5,2], [6,1], [4,4], [7,1]]
3131
```
3232

33-
The first sort is O(Nlog(N)) while the second sort is O(N) due to known indexes for insertion.
33+
The first sort is O(Nlog(N)) while the second sort is O(N) due to known indexes for insertion, however, python's implementation of arrays is different from theoretical. This may end up being O(N^2(log(N))) with python.
3434

3535
```
3636
class Solution:

0 commit comments

Comments
 (0)