NatWest Group interview question

Design patterns and Solid principles in detail