TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
Loading...
Searching...
No Matches
node Class Reference
Collaboration diagram for node:
[legend]

Public Member Functions

 node (int d)

Public Attributes

int val
nodeleft
noderight
int data
struct nodenext
nodenext
nodeprev
int key
nodeparent
char color
nodelink

Detailed Description

Definition at line 11 of file binary_search_tree.cpp.

Constructor & Destructor Documentation

◆ node()

node::node ( int d)
inline

Definition at line 9 of file selectionsortlinkedlist.cpp.

9 {
10 data = d;
11 link = NULL;
12 }
int data[MAX]
test data
struct list * link
pointer to nodes

Member Data Documentation

◆ color

char node::color

Definition at line 9 of file rb_tree.cpp.

◆ data

int node::data

Definition at line 4 of file circular_queue_using_linked_list.cpp.

◆ key

int node::key

Definition at line 7 of file rb_tree.cpp.

◆ left

node * node::left

Definition at line 13 of file binary_search_tree.cpp.

◆ link

node* node::link

Definition at line 8 of file selectionsortlinkedlist.cpp.

◆ next [1/2]

node * node::next

Definition at line 5 of file circular_queue_using_linked_list.cpp.

◆ next [2/2]

node* node::next

Definition at line 14 of file cll.h.

◆ parent

node* node::parent

Definition at line 8 of file rb_tree.cpp.

◆ prev

node* node::prev

Definition at line 7 of file doubly_linked_list.cpp.

◆ right

node * node::right

Definition at line 14 of file binary_search_tree.cpp.

◆ val

int node::val

Definition at line 12 of file binary_search_tree.cpp.


The documentation for this class was generated from the following files: