WellDoc interview question

coding question - DATA STRUCTURES