Domanda di colloquio di Intel Corporation

Reverse sentence problem from leetcode