Rippling Interview Question

Three sum leetcode question and two sum before that