10pearls interview question

Design patterns. Solid principal. Lambda function.