Nagarro interview question

difference between dependency inversion and ioc