code: protected static int removeTreeStructure(BinaryTree curStruc) {
  
          BinaryTree equalStruc = curStruc.getEqual();
          BinaryTree notEqualStruc = curStruc.getNotEqual();
          curStruc = null;
  
          if (equalStruc != null) {
              removeTreeStructure(equalStruc);
          }
  
          if (notEqualStruc != null) {
              removeTreeStructure(notEqualStruc);
          }
  
          return 0;
      }
docs: /*
  Modified function call by ASAD in Java have to check