Infosys interview question

Best way to reverse string.

Interview Answer

Anonymous

Feb 16, 2019

just swap down char array symmetrically (eg 0 with last,1 with last-1)