text: The main function to check if all leafs are at same level . It mainly uses checkUtil ( )
code: bool check ( struct Node * root ) { int level = 0 , leafLevel = 0 ; return checkUtil ( root , level , & leafLevel ) ; }