Magnasoft Interview Question

Problem Solving , Reasoning and technical question