Microsoft interview question

Tree, 2 pointers, matrix based questions