Amazon Interview Question

reverse a sentence