43 for (
int i = 0; i < 100; i++)
52 for (
int i = 0; i < 100; i++)
void insert(Dlink *node) noexcept
Insert node after this.
Node belonging to a double circular linked list with header node.
Dynamic doubly linked list with O(1) size and bidirectional access.
T & insert(const T &item)
Insert a copy of item at the beginning of the list.
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
long search_max(T *a, const long l, const long r, const Compare &cmp=Compare())
Returns the maximum element of the array a between l and r.
long sequential_search(T *a, const T &x, const long l, const long r, Equal eq=Equal())
Linear search for an element in an array.
Link * search_extreme(const Link &list, const Compare &cmp)
Find the extreme (minimum or maximum) element in a linked list.
Comprehensive sorting algorithms and search utilities for Aleph-w.