Cognizant interview question

Two programs asked Fibannoci series, Reverse a String