69 printf(
"Starting ........\n\n");
98 merge_lists<List, Menor_Que>(list1, list2, list3);
105 printf(
"Lists apparently merged and sorted\n");
111 printf(
"Ending .... \n\n");
bool has_curr() const noexcept
Return true if the iterator has current item.
void next()
Move the iterator one position forward.
void reset_first() noexcept
Reset the iterator to the first item of list.
Doubly linked circular list node.
void remove_all_and_delete() noexcept
Remove and free memory for all the items of list.
void append(Dlink *node) noexcept
Insert node before this.
void insert(Dlink *node) noexcept
Insert node after this.
Iterator on a list of Dnode objects.
Dnode< T > * get_curr() const
Return a pointer to the current node.
Node belonging to a double circular linked list with header node.
T & get_data() noexcept
Return a modifiable reference to the data contained in the node.
void quicksort(T *a, const long l, const long r, const Compare &cmp=Compare())
Sort an array using iterative quicksort with optimizations.
bool operator()(Dlink *l1, Dlink *l2) const
void printList(List &list)
Comprehensive sorting algorithms and search utilities for Aleph-w.