Hexaware Technologies Interview Question

How to implement lisxov subtitution principal