- Input: “Here goes what you want in life”
- Output: “life in want you what goes Here”
- Assumption: Input contains at least one word.
- Quick code using all buit in functions.
- Interviewer: Rewrite without join().
- Interviewer: Rewrite without slicing.
- Interviewer: Rewrite without split().
- Interviewer: Couldn’t figure out any other rewrites. Will ask another question.
- Me: 😳