Skip to content

Code in C; To determine whether the index of an array is equal to the number or integer assigned at that index

Notifications You must be signed in to change notification settings

claireyoungmin/MP3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

MP3

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

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

No packages published

Languages