Checkmarx interview question

code snippet of fibonacci sequence