Three Number Sum [Medium] C#
Time Complexity O(n^2)|O(n) Space
Approach: Use a loop through all elements and use two pointer approach(Left and Right) along with this.
Algorithm:
Sort the given array, Declare a triplets list.(List of Int Array)
Start a loop from i = 0 till i < l...
akhilkumarpenugonda.hashnode.dev1 min read