Sabre Interview Question

How did you print in reverse order a string.

Interview Answer

Anonymous

Mar 3, 2024

A string is an array of chars. Having that said, I can know the lengh of the string and then iterate over it from the lengh - 1 to 0, and that's it. They want to know if you have foundations.