The first line of input contains an integer T denoting the number of test cases. Then T test cases follow, the first line of each test case contains an integer N denoting the size of the first linked ...
A tree is height balanced if difference between heights of left and right subtrees is not more than one for all nodes of tree. You don't need to take input. Just complete the function isBalanced() ...