Objects interview question

Focused on Oop and solid , data structure and algorithm