Algorithms_in_C++  1.0.0
Set of algorithms implemented in C++.
list Struct Reference
Collaboration diagram for list:
[legend]

Public Member Functions

int BinarySearch (const std::array< int, 50 > &dataArr, int first, int last, int x)
 
int LinearSearch (const std::array< int, 50 > &dataArr, int x) const
 
int Search (int x)
 
void Sort ()
 
void insert (int x)
 
void Remove (int x)
 
void Show ()
 

Public Attributes

std::array< int, 50 > data {}
 
int top = 0
 
bool isSorted = false
 
int key
 key value for node
 
struct listnext
 pointer to next link in the chain
 

Detailed Description

a one-way linked list


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