asadmalik3 / InvertPhrase

You are given a phrase and have to invert it, but maintaining the correct word order and punctuation marks. Word with hyphens must be respected.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InvertPhrase

You are given a phrase and have to invert it, but maintaining the correct word order and punctuation marks. Word with hyphens must be respected.

Some examples:

  1. Good afternoon -> afternoon Good
  2. Hello, how are you? -> ?you are how, Hello
  3. Are you twenty-one years old? -> ?old years twenty-one you Are

About

You are given a phrase and have to invert it, but maintaining the correct word order and punctuation marks. Word with hyphens must be respected.


Languages

Language:C# 100.0%