Sollicitatievraag bij Duo Security

Write an algorithm to reverse a string in place.

Antwoorden op sollicitatievragen

Anoniem

13 mrt 2015

You should be able to do this :-)

1

Anoniem

20 dec 2018

// C# char[] ar = st.ToCharArray(); Array.Reverse( ar ); string sNew = new string( charArray );