Trivia Softwares Interview Question

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