ValueMomentum interview question

Reverse a string, duplicate strings in word,even and odd numbers