Skip to content

Latest commit

 

History

History

100_same_tree

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

###100. Same Tree 判断两棵二叉树是否相同

###Contents

Given two binary trees, write a function to check if they are equal or not.

Two binary trees are considered equal if they are structurally identical and the nodes have the same value.

###Difficulty Easy

###Tags Depth-first Search, Tree

###Similar Problems