reverse every word of the sentence except first and last?
Created 2 years ago
298
Views
1
Comments
Given a string S consisting of a sentence, the task is to reverse every word of the sentence except the first and last character of the words.
Sample Testcase :
INPUT
guvi coding platform
OUTPUT
gvui cnidog proftalm.