REVERSE WORDS

0

0 votes
strings, reverse
Problem

Given a string, reverse the words in a given string.

Example:

Input:
Coimbatore Institute of Technology

Output:
Technology of Institute Coimbatore

Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?