Rippling interview question

Three sum leetcode question and two sum before that