Cisco interview question

Reverse a string in pseudocode