Yahoo Interview Question
179 Interview Reviews |
Back to all Yahoo Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for Software Engineer at Yahoo:
Write a routine to reverse a string and then reverse only the individual words in the same string using the routine.
Helpful Question?
Yes |
No
Inappropriate?
Answers & Comments (1)
Members can
answer or comment on this question
–
Join Now (It's Free) or
Sign In
2 of 3 people found this helpful
by Got the same question:
1) Reverse the entire string
2) Reverse again just the substrings on white-space boundaries. The words are now forward but in reverse order.