GUVI
Back

strings topic  please please answer this question

Created 3 years ago
110 Views
3 Comments
20CS081-KARTHIKEYANS
@20CS081-KARTHIKEYANS
20CS081-KARTHIKEYANS
@20CS081-KARTHIKEYANSProfile is locked. Login

Given a sentence S take out the extra spaces.If no extra space is present print the same as output.
Input Size : |s| <= 100000(complexity O(n))
Sample Testcase :
INPUT
codekata challenge
OUTPUT
codekata challenge

Comments (3)
Please login to comment.
 
Powered by habitate.io Habitate