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