Cognizant Interview Question

What is an array? What are time and space complexity? How to reverse the string?