TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
Loading...
Searching...
No Matches
others::iterative_tree_traversals::Node Struct Reference

defines the structure of a node of the tree More...

Collaboration diagram for others::iterative_tree_traversals::Node:
[legend]

Public Attributes

int64_t data = 0
 The value/key of the node.
 
struct Nodeleft {}
 struct pointer to left subtree.
 
struct Noderight {}
 struct pointer to right subtree.
 

Detailed Description

defines the structure of a node of the tree

Definition at line 58 of file iterative_tree_traversals.cpp.

Member Data Documentation

◆ data

int64_t others::iterative_tree_traversals::Node::data = 0

The value/key of the node.

Definition at line 59 of file iterative_tree_traversals.cpp.

◆ left

struct Node* others::iterative_tree_traversals::Node::left {}

struct pointer to left subtree.

Definition at line 60 of file iterative_tree_traversals.cpp.

60{};

◆ right

struct Node* others::iterative_tree_traversals::Node::right {}

struct pointer to right subtree.

Definition at line 61 of file iterative_tree_traversals.cpp.

61{};

The documentation for this struct was generated from the following file: