RetailMeNot Interview Question

Data structure / Algo centric question