Help for this page

Select Code to Download


  1. or download this
    "Given an array A, an index i, and a value v,
    find the smallest index j such that j > i and A[j] == v"