HCLTech Interview Question

Technical round is a bit tough. ( Questions from different domains )