Trivia Softwares interview question

How to reverse a string and basic data structures and algorithms questions