Infosys Interview Question

They have asked by question from basics to advance concepts and coding