Globant interview question

how to use solid principle