A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://TheAlgorithms.github.io/C-Plus-Plus/d7/dba/cll_8h_source.html below:

TheAlgorithms/C++: data_structures/cll/cll.h Source File

2 * Simple data structure CLL (Cicular Linear Linked List) 11/*The data structure is a linear linked list of integers */ 19

cll();

/* Construct without parameter */ 21 void

display();

/* Show the list */ 23 /****************************************************** 24 * Useful method for list 25 *******************************************************/ 26 void

insert_front(

int

new_data);

/* Insert a new value at head */ 27 void

insert_tail(

int

new_data);

/* Insert a new value at tail */ 28 int

get_size();

/* Get total element in list */ 29 bool

find_item(

int

item_to_find);

/* Find an item in list */ 31 /****************************************************** 32 * Overloading method for list 33 *******************************************************/ 34 int

operator*();

/* Returns the info contained in head */ 35 /* Overload the pre-increment operator. 36 The iterator is advanced to the next node. */ 41 int

total;

/* Total element in a list */

struct node { int data; int height; struct node *left; struct node *right;} node

for std::queue


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4