Given a -indexed sorted array and a target, find two numbers that add up to the target. Return their indices. Example: numbers = [, , , ], target = . Output: [, ] because numbers[] + numbers[] = + = . The array is already sorted. You'll use this property to avoid the hash map approach from Two Sum.
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
$ curl repovive.com/roadmaps/maang-interview-prep/two-pointers-sliding-window/problem-two-sum-ii
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░████████████████████████████████████████████████████████████████████████████████████████████████