Amazon Interview Question

Middle element in a matrix . Siblings in a binary tree.