TomoLink
Easytcs-nqt

What is the time complexity of finding all pairs with a given sum in a sorted array using two pointers?

What is the time complexity of finding all pairs with a given sum in a sorted array using two pointers? | Two Pointers & Sliding Window MCQ | TomoLink | TomoLink