Microsoft Interview Question

Given a sentence return it's reverse component

Interview Answer

Anonymous

Nov 19, 2018

Use spaces as the delimiters, reverse each word given by the first step then reverse the whole sentence