DOKU interview question

OOP / Class design Query / DB Design Logical Math (Number and pattern)