Ripple Interview Question

3 Sum - leetcode Reverse words in a sentence