Frage im Vorstellungsgespräch bei L&T Technology Services

Reverse a string without using additional buffer

Antwort im Vorstellungsgespräch

Anonym

26. Okt. 2017

Swap the first and last element , then swap second and second last element and so on till you reach the middle element