Given a binary tree, check if it is balanced

O(N) solution. Although it is parsing tree node its O(N) coz each and
every node needs to be parsed through.