// Given a sorted (ascending) array of integers nums and a target, return // the index of target if it exists, otherwise -1. You must run in O(log n).