Please enter your email address or userHandle.
Given a string, remove spaces from it
Input: First line of the input is the number of test cases T. And first line of test case contains a string whose spaces are to be removed.
Output: Modified string without any space
Constraints: Input String Length <= 1000
geeks for geeks
g f g
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.