easyDSA

Two Sum II (Sorted Array)

Find two numbers in a sorted array that add up to target.
Ensure function signatures match starter code to run test cases.
index.js
Loading...

Test Case #1

Input: [2,7,11,15],9

Expected: [1,2]