Please enter your email address or userHandle.
Given a mathematical equation using numbers/variables and +, -, *, /. Print the equation in reverse.
The first line consists of an integer T i.e number of test cases. The first line and only line of each test case consists of an string s.
Print the string in reverse.
1<=|Length of String|<=100
We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?
Login to access your submissions.
Please choose 'ReadOnlyMode' if you needn't to 'Edit' the problem e.g. viewing OJ's solution, TestCase Files (TCFs), TimeLimit etc.