Java Program to check if a given Binary Tree is balanced like a Red - Black Tree
class GFG { static class Node { int key ; Node left , right ; Node ( int key ) { left = null ; right = null ; this . key = key ; } } static class INT { static int d ; INT ( ) { d = 0 ; } }