IBM Interview Question

Questions asked were from the final year project