Luxoft interview question

SOLID principle and example application