Ugam interview question

Technical round questions: Write a program to reverse a string bubble sort etc.