HCLTech interview question

Basic of core with some tricky one and selenium and 2 programs