L&T Technology Services interview question

Reverse a string without using additional buffer

Interview Answer

Anonymous

26 Oct 2017

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