Package dsa


package dsa
  • Class
    Description
    An immutable data type to represent an alphabet.
    Bag<T>
    This interface specifies the API for the bag data structure.
    BasicST<K,V>
    This interface specifies the API for the basic symbol table data structure.
    An immutable data type to compute the shortest paths from a fixed source vertex to any other vertex in a directed graph.
    An immutable data type to compute the shortest paths between a fixed source vertex and any other vertex in an undirected graph.
    This library implements binary search.
    BinarySearchST<K extends Comparable<K>,V>
    This data type provides an implementation of the ordered symbol table (OrderedST) API, using as underlying data structures an ordered array for the keys and a parallel array for the values.
    This data type provides an implementation of the ordered symbol table (OrderedST) API, using a binary search tree (BST) as the underlying data structure.
    This library implements bubble sort.
    A data type to represent a counter.
    An immutable data type to represent a date (day, month, and year).
    An immutable data type to compute paths from a fixed source vertex to any other vertex in a directed graph.
    An immutable data type to determine depth-first orders (pre, post, and reverse post) for a digraph.
    An immutable data type to compute paths between a fixed source vertex and any other vertex in an undirected graph.
    An immutable data type to determine whether a digraph has a directed cycle and, if so, find such a cycle.
    An immutable data type to represent a weighted edge in an directed graph.
    A data type to represent a directed graph.
    An immutable data type to determine the shortest paths from a fixed source vertex to every other vertex in an edge-weighted digraph.
    An immutable, comparable data type to represent a weighted edge in an undirected graph.
    A data type to represent a directed graph with weighted edges.
    A data type to represent an undirected graph with weighted edges.
    This library provides static methods for compressing and expanding a genomic sequence using a 2-bit code.
    A data type to represent an undirected graph.
    This library implements heap sort.
    This data type provides static methods for compressing and expanding a binary input using Huffman codes over the 8-bit extended ASCII alphabet.
    IndexMaxPQ<T extends Comparable<T>>
    A data type to represent an indexed maximum priority queue (indexMaxPQ) data structure, implemented using a binary max-heap.
    IndexMinPQ<T extends Comparable<T>>
    A data type to represent an indexed minimum priority queue (indexMinPQ) data structure, implemented using a binary min-heap.
    This library implements insertion sort.
    This library to count the number of inversions in an array.
    A data type to find the first occurrence of a pattern string within a text string, using the Knuth-Morris-Pratt (KMP) substring search algorithm.
    An immutable data type to determine the minimum spanning tree (MST) of an edge-weighted graph.
    This library implements linear search.
    This data type provides an implementation of the basic symbol table (BasicST) API, using a linked-list as the underlying data structure.
    This data type provides an implementation of the Bag API, using a linked-list as the underlying data structure.
    This data type provides an implementation of the Queue API, using a linked-list as the underlying data structure.
    This data type provides an implementation of the Stack API, using a linked-list as the underlying data structure.
    This library implements LSD radix sort.
    A data type to represent a maximum priority queue (maxPQ) data structure, implemented using a binary max-heap.
    This library implements merge sort.
    A data type to represent a minimum priority queue (minPQ) data structure, implemented using a binary min-heap.
    This library implements MSD radix sort.
    A data type for creating a nondeterministic finite state automaton (NFA) from a regular expression and testing whether a given string is matched by that regular expression.
    OrderedST<K extends Comparable<K>,V>
    This interface specifies the API for the ordered symbol table data structure.
    This interface specifies the API for computing single-source paths in a graph.
    This interface specifies the API for the queue data structure.
    This library implements quick sort.
    This library implements quick-3-way sort.
    This data type provides an implementation of the Union Find (UF) API in which the find, count, and connected operations run in constant time, whereas the union operation runs in linear time.
    This data type provides an implementation of the Union Find (UF) API in which the count operation runs in constant time, whereas the find, connected, and union operations run in logarithmic time in the average case.
    This data type provides an implementation of the ordered symbol table (OrderedST) API, using a red-black binary search tree (RBBST) as the underlying data structure.
    This data type provides an implementation of the Bag API, using an array as the underlying data structure.
    This data type provides an implementation of the Queue API, using an array as the underlying data structure.
    This data type provides an implementation of the Stack API, using an array as the underlying data structure.
    This library provides static methods for compressing and expanding a binary input using run-length encoding with 8-bit run lengths.
    This library implements selection sort.
    This data type provides an implementation of the basic symbol table (BasicST) API, using an array (hash table) of LinearSearchST objects (chains) as the underlying data structure.
    Set<T extends Comparable<T>>
    An iterable data type to represent an ordered set of items.
    This library implements shell sort.
    A data type to represent an m x n sparse matrix.
    A data type to represent an n-dimensional, real-valued sparse vector.
    This interface specifies the API for the stack data structure.
    An immutable data type to represent a directed symbol graph.
    An immutable data type to represent an undirected symbol graph.
    An immutable data type to determine whether a digraph has a topological order and, if so, find such an order.
    An immutable data type to represent a commercial transaction with a name, date, and amount.
    A data type to represent the trie data structure, which is a symbol table with string keys.
    This interface specifies the API for the Union Find (UF) data structure.
    This data type provides an implementation of the Union Find (UF) API in which the count operation runs in constant time, whereas the find, connected, and union operations run in logarithmic time.