Cognizant Interview Question

fibonicci number program solution java