Structs§
- A stack that can hold arbitrary types.
- A priority queue implementation backed by a binary heap.
- A priority queue implementation backed by a binomial heap.
- A Bloom filter.
- A bump allocator for type
T. - A deque implementation backed by a ring buffer.
- A weighted, directed graph.
- A Fenwick tree specialized for primitive integers and addition.
- A priority queue implementation backed by a Fibonacci heap.
- A trie for mapping sequences of keys to values.
- A weighted graph.
- An immutable vector implementation with efficient edits/clones.
- An interval heap implementation for use as a double-ended priority queue.
- A data structure for efficiently calculating a running median.
- A FIFO queue that supports O(1) push, pop and find-minimum.
- A LIFO stack that supports O(1) push, pop and find-minimum.
- A disjoint-set data structure backed by a disjoint set forest.
- A dynamic array implementation backed by a VList.
Enums§
- An enum representing the median in a
MedianHeap. - An enum representing the items removed from a
BiMap.
Functions§
- Returns the Levenshtein distance between two slices.
- Returns a cycle in the graph, if one exists.
- Returns a subset of the input points representing their convex hull.
- An implementation of the heapsort algorithm.
- An implementation of the insertion sort algorithm.
- Returns
trueif the ordering is a topological sort for the graph. - Returns the majority element of an iterator, if one exists.
- An implementation of the mergesort algorithm.
- Partitions the slice around the element at
pivot_index. - An implementation of the quicksort algorithm.
- An implementation of the radix sort algorithm.
- Returns a reference to the
kth smallest element in the slice. - Returns a reference to the
kth smallest element in the slice. - Returns the Levenshtein distance between two
strs. - Returns a topological sort of the graph, if one exists.