Vaahan India interview question

Three Sum from DSA Leetcode