HCLTech Interview Question

Pega technical questioned in 1st and 2nd round