Sabre interview question

based on data structures factorial, fibonacci programs OOPS concepts operating system concepts