Ruangguru.com interview question

Code optimisation, OOP, Architecture Pattern