Target indices after sorting an array
Return the indices at which a target would sit once the array is sorted. In the reported version the array is already sorted and the answer must take logarithmic time: binary search for the first and last occurrence.
No answer yet. Write the first one; the best answer gets endorsed.
