Sollicitatievraag bij Tata Consultancy Services

Write a program to reverse string. What are the servlets. Write Fibonacci sequence.