Skip to content

Commit ff25e37

Browse files
committed
add Search for a Range
1 parent 08ce625 commit ff25e37

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
I just solve it with O(n) complexity, maybe you can try **binary search** to reduce the complexity to O(log n).

0 commit comments

Comments
 (0)