HCLTech Interview Question

About my college project.