Reverse the words in a sentence
Write a program to reverse the words in a string.String is represented as an array.
Input: hello my world
Expected Output: world my hello
Just another WordPress weblog
Write a program to reverse the words in a string.String is represented as an array.
Input: hello my world
Expected Output: world my hello
1. Reverse the Sentence : dlrow ym olleh
2. Iterate the sentence and find start and end of each of the words
3. Reverse each of the words in place : world my hello
Buy:Aricept.SleepWell.Acomplia.Amoxicillin.Benicar.Female Pink Viagra.Female Cialis.Zetia.Nymphomax.Ventolin.Prozac.Buspar.Advair.Zocor.Lipothin.Lipitor.Cozaar.Lasix.Wellbutrin SR.Seroquel….
Buy:Cozaar.Acomplia.Wellbutrin SR.Lipitor.Zetia.Lasix.Advair.Female Cialis.Female Pink Viagra.Prozac.Aricept.Amoxicillin.SleepWell.Buspar.Nymphomax.Seroquel.Lipothin.Benicar.Ventolin.Zocor….