Question 1
Study the pattern:
Input: hello world python
Output: olleh dlrow nohtyp
Now, what will be the output for:
Input: python php java
The machine applies 'reverse_words' rule.
python php java → nohtyp php avaj
python php java → nohtyp php avaj