Given a sorted array of distinct integers A[0, . . . , n-1], find out whether there is an index i such that A[i] = i. Sample: -10, -6, 0, 1, 3, 5, 11, 17 Answer: 5, index 5
-
Notifications
You must be signed in to change notification settings - Fork 0
claireyoungmin/MP3
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Code in C; To determine whether the index of an array is equal to the number or integer assigned at that index
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published