Lower Bound in Sorted Array

Given a sorted array nums and a target value, return the index of the first element that is greater than or equal to the target. If no such element exists, return -1.

Difficulty:

Console