Domanda di colloquio di Sabre

How did you print in reverse order a string.

Risposta di colloquio

Anonimo

3 mar 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.