Superbet interview question

Data structure and alghoritms, system design