Pergunta de entrevista da empresa Shopee

1 question about algorithm about the graph; 1 question about system design; The total time is about 90 minutes;