MatrixCare interview question

algorithms, data structures