Two Sum using 2 Pointer approach | Coding Question

preview_player
Показать описание
Two pointer approach for the Two Sum Question:
You are given an array of non-negative integers of size N and a target sum X. You need to find a pair from the array whose sum equals X. If no such pair found, return – 1.
Рекомендации по теме
join shbcf.ru