Tokopedia Interview Question

Design data structure for certain problem