Pregunta de entrevista de SmartAsset

Object Oriented Design question, Coding round (look through Leetcode medium)