HCLTech Interview Question

Technical questions and some logical questions