nums is sorted from smallest to largest. Find target using binary search and return its index, or -1 when it is not present.nums is sorted from smallest to largest. Find target using binary search and return its index, or -1 when it is not present.// Run your code to see the output here.