Hexaware Technologies interview question

How to implement lisxov subtitution principal