FIS interview question

DS and logical questions