Helper function that allocates a new node with the given data and NULL left and right pointers .
void postorder ( struct Node * head ) { struct Node * temp = head ; unordered_set < Node * > visited ; while ( temp && visited . find ( temp ) == visited . end ( ) ) {