Domanda di colloquio di Bridgestone Americas

Given a passed in string s, write a function that will return the string with the characters in reverse order.

Risposta di colloquio

Anonimo

5 mar 2018

Private Function ReverseString(s as string) as string Dim ca as Char() = s.ToCharArray ca.reverse() Return New String(ca) End Function