Microsoft Interview Question

Reverse the string

Interview Answers

Anonymous

Mar 12, 2012

using System; using System.Linq; namespace LinkeListShuffle { class Program { static void Main() { const string givenString = "one one two two three four"; var reversedString = string.Join(" ", (givenString.Split(' ').Reverse())); Console.WriteLine(reversedString); } } }

Anonymous

Mar 18, 2012

Dude they are not testing you to see if you know how to use built in functions