Pregunta de entrevista de Microsoft

Reverse the string

Respuestas de entrevistas

Anónimo

12 mar 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); } } }

Anónimo

18 mar 2012

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