Astera Software interview question

Optimize and refactor code using Solid principles