Skip to content

Commit db21ebd

Browse files
authored
Update README.md
1 parent 1cce460 commit db21ebd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,13 @@ previous numbers, i.e., `T(n)=T(n-1)+T(n-2)+T(n-3), T(1)=T(2)=1, and T(3)=2`). [
240240
* Elements of the second sorted array.
241241
[merge_sorted_arrays.java](https://github.com/jacobjohn2016/Java-Programming/blob/master/extra-assignment/src/merge_sorted_arrays.java)
242242
243+
21. Find the first positive integer `M` (where `1 <= M <= N`) such that when `M` is used as the array index, the result from the array is the the integer `M` itself. i.e. `A[M] = M`
244+
* With a known length `N`
245+
* The array is sorted in an ascending order
246+
* The array holds distinct integers (i.e. there are no repeating numbers)
247+
* The array is 1-indexed, i.e. the first element is stored in `A[1]` (not `A[0]`)
248+
[binay_index_search.java](https://github.com/jacobjohn2016/Java-Programming/blob/master/extra-assignment/src/binay_index_search.java)
249+
243250
## Contributions
244251
* Initial Author - [jacobjohn2016](github.com/jacobjohn2016)
245252
* [varunreddy24](github.com/varunreddy24)

0 commit comments

Comments
 (0)