Bajaj Capital interview question

Automation Code