NTT DATA interview question

Implementation of display modes