Karma Automotive Interview Question

How would you write a script to reverse a given string without using built-in reverse string function.

Interview Answer

Anonymous

Jul 15, 2021

Utilize a loop, and stringlength function, returning each character from last to first character to an indexed array.