HARMAN interview question

DSA questions: matrix, array, list