Visa Inc. Interview Question

Tree, Matrix and Linkedlist coding question.