Domanda di colloquio di Zentree Labs

A Two pointer (binary search) based DSA question and time complexity.