RingCentral interview question

Round1: Basic Ds algo Round2: Design round