Skip to content

Commit 227e9c2

Browse files
committed
array
1 parent 279a38f commit 227e9c2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: algorithm/Search/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Binary Search
2+
For binary search, if use jave , use `mid = left + (right - left) / 2` to avoid overflow of `right + left`.

Diff for: dataStructure/array/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Insert item to specific index in an array:
2+
`arr.splice(index, 0, item)`;

0 commit comments

Comments
 (0)