Cognizant interview question

find the max in an array reverse a string string is a data type or not about cloud computing