func (n *Node) AreIdentical(t2 BinaryTree) bool {
	n2 := t2.getRoot()

	return identicalTrees(n, n2)
}
// AreIdentical checks if two trees are identical
AreIdentical checks if two trees are identical
// AreIdentical checks if two trees are identical
func (n *Node) AreIdentical(t2 BinaryTree) bool {
	n2 := t2.getRoot()
	return identicalTrees(n, n2)
}
func ( n * Node ) AreIdentical ( t2 BinaryTree ) bool { n2 := t2 . getRoot ( ) return identicalTrees ( n , n2 ) }
AreIdentical checks if two trees are identical
AreIdentical checks if two trees are identical