Monash Health interview question

Data structure and algorithms mainly