L&T Technology Services interview question

Reverse a string without using additional buffer

Interview Answer

Anonymous

Oct 26, 2017

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