You have a binary tree on the shape of mathematical equation, the root is a sign and the childs are numbers. In the end of day your code should print the result of this equation. the second question is, you have a matrix contains numbers sorted horizontally from left to right and vertically from top to bottom but in general it's not sorted. You should write a code to sort the whole matrix in n complexity time.