Find Target Indices After Sorting Array

Solution Code

Time Complexity

O(n log n)

Space Complexity

O(log n) or O(n)