Nagarro interview question

Mention steps and how to implement Spring DI on your own?