Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
|
Node, the basic data structure in the tree. More...
#include <include.h>
Data Fields | |
struct node * | left |
left child | |
struct node * | right |
right child | |
int | data |
data of the node | |
struct node * | leftNode |
struct node * | rightNode |
int | val |
struct node * | par |
int | color |
int | vertex |
struct node * | next |
int | info |
struct node * | link |
struct node * | pre |
char | data |
Node, the basic data structure in the tree.
Kyler Smith, 2017 Stack data structure implementation.
INCLUDES.
Defining the structure of the node which contains 'data' (type : integer), two pointers 'next' and 'pre' (type : struct node).
creating a stucture with 'data'(type:int), two pointers 'next','pre' (type: struct node) .