FoodLogiQ Interview Question

Reverse a sentence by word.