IIFL Finance interview question

About coding principles like SOLID, DRY etc.