abhimanyuiscoding / Hacktoberfest2022

This is a hacktoberfest repo.
42 stars 343 forks source link

Create 3Sum problem #390

Open Kunnu72 opened 1 year ago

Kunnu72 commented 1 year ago

I solve the 3Sum problem using Two pointer Approach. Its time complexity is O(n^2) and its space complexity is O(1). This is the best possible approach I can think off.