TickerPlant interview question

all OOPs concepts