Aqualink interview question

OOP, DSA , Coding test