Skip to content

Commit 19ba4eb

Browse files
committed
Update time_complexities.json
1 parent f909c76 commit 19ba4eb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/time_complexities.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -782,9 +782,9 @@
782782
"example": "26|20|29,33|12,16|21|27|31,32|36,37 find 21"
783783
},
784784
"best": {
785-
"big_o": "O(log n)",
786-
"explanation": "Element exists near top of tree.",
787-
"example": "26|20|29,33|12,16|21|27|31,32|36,37 find 29"
785+
"big_o": "O(1)",
786+
"explanation": "Element exists in the root of the tree.",
787+
"example": "26|20|29,33|12,16|21|27|31,32|36,37 find 26"
788788
}
789789
},
790790
"Calculate Height": {

0 commit comments

Comments
 (0)