AlgoMaster Logo

Reverse Words in a String

s=the sky is blue
0 / 38
01234567891011121314theskyisblue
algomaster.io
Step:Start: reverse the whole array, then reverse each word back into normal order