Function to check if binary tree is Balanced

Idea is to check -> Max Depth – MinDepth  <=1