Sign up
Sign in
…is question, you can say that without doing this in-place, you can split the string into words, and sort it in the reverse order. That’s a very straight forward solution. Of course you know that the interviewer is expecting more…
Trần Thiện Khiêm
Vivek Singh
Follow
--
Share
No need of sorting ..place in reverse order
Software Developer
Help
Status
About
Careers
Press
Blog
Privacy
Terms
Text to speech
Teams