Share your repls and programming experiences

← Back to all posts
Sentence reversal without extra space
h
NeuronHacker (0)

first try yourself.
then feel free to check my solution.
// extra mem: O(maxwordlength) extraloop
// having problem when sentence is started
with a space or sentence contains extra
spaces
// between words