Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no duplicates in the array.
Abstract: An ultrasound sparse array consists of a sparse distribution of elements over a 2-D aperture. Such an array is typically characterized by a limited number of elements, which in most cases is ...