![]() All values in position m+1 through myStuff.length-1 are less than n.This would be true if mystery looped forward through the array and returned when it found a value greater than the passed num ( n).All values in position 0 through m are less than n.Mystery steps backwards through the array until the first value less than the passed num ( n) is found and then it returns the index where this value is found. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |