dev/bst_tries_02.cpp
// Returns true if root has no children, else false 
Returns true if root has no children, else false
Returns true if root has no children else false
bool isEmpty(TrieNode* root) 
{ 
	node *ptr = (node *)root->root;
	if (ptr != NULL)
		return false;
	return true;
}
bool isEmpty ( TrieNode * root ) { node * ptr = ( node * ) root -> root ; if ( ptr != NULL ) return false ; return true ; }
Returns true if root has no children, else false
Returns true if root has no children else false