Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Rust
/ types & classes
Types & classes
211 in github.com/TheAlgorithms/Rust
⨍
Functions
2,908
◇
Types & classes
211
↓ 17 callers
Class
TestKey
src/data_structures/hash_table.rs:71
↓ 2 callers
Class
HeapNode
src/compression/huffman_encoding.rs:93
↓ 1 callers
Class
Edge
src/graph/depth_first_search.rs:46
↓ 1 callers
Class
Edge
src/graph/breadth_first_search.rs:53
↓ 1 callers
Class
IntoIter
Collections are iterated in Rust using the Iterator trait, we define a struct implement Iterator
src/data_structures/stack_using_singly_linked_list.rs:124
↓ 1 callers
Class
Node
src/graph/breadth_first_search.rs:50
↓ 1 callers
Class
Trie
src/string/autocomplete_using_trie.rs:14
↓ 1 callers
Class
Vertex
src/graph/depth_first_search.rs:44
Class
ACNode
src/string/aho_corasick.rs:7
Class
AVLNode
An internal node of an `AVLTree`.
src/data_structures/avl_tree.rs:9
Class
AVLTree
A set based on an AVL Tree. An AVL Tree is a self-balancing binary search tree. It tracks the height of each node and performs internal rotations to
src/data_structures/avl_tree.rs:21
Class
Adam
# Adam (Adaptive Moment Estimation) optimizer The `Adam (Adaptive Moment Estimation)` optimizer is an adaptive learning rate algorithm used in gradie
src/machine_learning/optimization/adam.rs:52
Enum
AesKey
src/ciphers/aes.rs:222
Enum
AesMode
src/ciphers/aes.rs:229
Class
AhoCorasick
src/string/aho_corasick.rs:14
Enum
AnagramError
src/string/anagram.rs:5
Class
AntColonyOptimization
Ant Colony Optimization solver for the Travelling Salesman Problem
src/graph/ant_colony_optimization.rs:37
Class
Autocomplete
src/string/autocomplete_using_trie.rs:70
Class
BTree
src/data_structures/b_tree.rs:10
Class
BTreeProps
Why to need a different Struct for props... Check - http://smallcultfollowing.com/babysteps/blog/2018/11/01/after-nll-interprocedural-conflicts/#fnref
src/data_structures/b_tree.rs:17
Class
BasicBloomFilter
src/data_structures/probabilistic/bloom_filter.rs:26
Class
BinarySearchTree
src/sorting/tree_sort.rs:23
Class
BinarySearchTree
This struct implements as Binary Search Tree (BST), which is a simple data structure for storing sorted data
src/data_structures/binary_search_tree.rs:6
Class
BinarySearchTreeIter
src/data_structures/binary_search_tree.rs:180
Class
BipartiteMatching
src/graph/bipartite_matching.rs:5
Interface
BloomFilter
A Bloom Filter <https://en.wikipedia.org/wiki/Bloom_filter> is a probabilistic data structure testing whether an element belongs to a set or not There
src/data_structures/probabilistic/bloom_filter.rs:6
Class
BwtResult
src/compression/burrows_wheeler_transform.rs:17
Class
Candidate
src/graph/astar.rs:11
Class
CentroidDecomposition
Centroid Decomposition for a tree. Given a tree, it can be recursively decomposed into centroids. Then the parent of a centroid `c` is the previous c
src/graph/centroid_decomposition.rs:15
Interface
Chromosome
The goal is to showcase how Genetic algorithms generically work See: https://en.wikipedia.org/wiki/Genetic_algorithm for concepts This is the definiti
src/general/genetic.rs:13
Class
City
src/graph/ant_colony_optimization.rs:22
Class
ClassStatistics
Naive Bayes classifier for classification tasks. This implementation uses Gaussian Naive Bayes, which assumes that features follow a normal (Gaussian)
src/machine_learning/naive_bayes.rs:7
Class
CodeBreaker
src/general/genetic.rs:383
Class
CodeMaker
src/general/genetic.rs:333
Enum
Color
src/data_structures/rb_tree.rs:7
Enum
ColorError
src/conversions/rgb_hsv_conversion.rs:17
Enum
ColoredPeg
src/general/genetic.rs:320
Enum
Colors
src/sorting/dutch_national_flag_sort.rs:9
Enum
CombinationError
src/backtracking/all_combination_of_size_k.rs:6
Class
Complex64
src/math/fast_fourier_transform.rs:5
Interface
CountMinSketch
A probabilistic data structure holding an approximate count for diverse items efficiently (using constant space) Let's imagine we want to count items
src/data_structures/probabilistic/count_min_sketch.rs:17
Class
CustomComplexNumber
src/math/quadratic_residue.rs:30
Class
CustomFiniteField
src/math/quadratic_residue.rs:18
Class
DSUNode
This module implements the Disjoint Set Union (DSU), also known as Union-Find, which is an efficient data structure for keeping track of a set of elem
src/graph/disjoint_set_union.rs:7
Class
DecisionTree
src/machine_learning/decision_tree.rs:288
Class
DecrementalConnectivity
A data-structure that, given a forest, allows dynamic-connectivity queries. Meaning deletion of an edge (u,v) and checking whether two vertecies are s
src/graph/decremental_connectivity.rs:12
Enum
DepreciationError
src/financial/depreciation.rs:29
Interface
DetectCycle
src/graph/detect_cycle.rs:5
Class
DiffieHellman
src/ciphers/diffie_hellman.rs:205
Class
DinicMaxFlow
src/graph/dinic_maxflow.rs:34
Class
DirectedGraph
src/data_structures/graph.rs:13
Enum
Direction
src/dynamic_programming/snail.rs:42
Class
DisjointSetUnion
Disjoint Set Union (Union-Find) data structure, particularly useful for managing dynamic connectivity problems such as determining if two elements are
src/graph/disjoint_set_union.rs:17
Class
Edge
src/graph/minimum_spanning_tree.rs:8
Class
EllipticCurve
src/math/elliptic_curve.rs:27
Enum
EnergyUnit
src/conversions/energy.rs:13
Class
EulerianPathSolver
Struct to represent the solver for finding an Eulerian path in a directed graph.
src/graph/eulerian_path.rs:28
Class
FenwickTree
A Fenwick Tree (also known as a Binary Indexed Tree) that supports efficient prefix sum, range sum and point queries, as well as point updates. The F
src/data_structures/fenwick_tree.rs:8
Enum
FenwickTreeError
src/data_structures/fenwick_tree.rs:19
Interface
Field
A field <https://en.wikipedia.org/wiki/Field_(mathematics)>
src/math/field.rs:8
Enum
FindHamiltonianCycleError
src/backtracking/hamiltonian_cycle.rs:6
Class
FlowEdge
We assume that T::default() gives "zero" flow and T supports negative values
src/graph/dinic_maxflow.rs:10
Class
FlowResultEdge
src/graph/dinic_maxflow.rs:16
Enum
FordFulkersonError
src/graph/ford_fulkerson.rs:10
Class
GenericAlgorithmParams
src/general/genetic.rs:136
Class
GeneticAlgorithm
src/general/genetic.rs:120
Class
Graph
Represents a graph using an adjacency matrix.
src/backtracking/hamiltonian_cycle.rs:16
Class
Graph
src/graph/depth_first_search.rs:48
Class
Graph
src/graph/breadth_first_search.rs:56
Class
Graph
Kosaraju algorithm, a linear-time algorithm to find the strongly connected components (SCCs) of a directed graph, in Rust.
src/graph/kosaraju.rs:2
Class
Graph
src/graph/tarjans_ssc.rs:1
Interface
Graph
src/data_structures/graph.rs:64
Class
GraphColoring
A struct representing a graph coloring problem.
src/backtracking/graph_coloring.rs:33
Enum
GraphColoringError
src/backtracking/graph_coloring.rs:7
Enum
GrayCodeError
src/bit_manipulation/n_bits_gray_code.rs:3
Class
GuessAnswer
src/general/genetic.rs:328
Class
HMAC
HMAC based on RFC 2104, applicable to many cryptographic hash functions.
src/hashing/hashing_traits.rs:15
Enum
HammingDistanceError
src/string/hamming_distance.rs:3
Class
HashCountMinSketch
The common implementation of a CountMinSketch Holding a DEPTH x WIDTH matrix of counts The idea behind the implementation is the following: Let's sta
src/data_structures/probabilistic/count_min_sketch.rs:91
Class
HashTable
src/data_structures/hash_table.rs:3
Interface
Hashable
src/data_structures/hash_table.rs:14
Interface
Hasher
src/hashing/hashing_traits.rs:1
Class
Heap
A heap data structure that can be used as a min-heap, max-heap or with custom comparators. This struct manages a collection of items where the heap p
src/data_structures/heap.rs:17
Class
HeavyLightDecomposition
src/graph/heavy_light_decomposition.rs:21
Class
HillCipher
Hill Cipher implementation
src/ciphers/hill_cipher.rs:36
Class
Hsv
src/conversions/rgb_hsv_conversion.rs:59
Class
HuffmanDictionary
src/general/huffman_encoding.rs:74
Class
HuffmanEncoding
src/general/huffman_encoding.rs:162
Class
HuffmanNode
src/general/huffman_encoding.rs:16
Enum
HuffmanNode
src/compression/huffman_encoding.rs:51
Class
HuffmanValue
src/general/huffman_encoding.rs:7
Enum
InfixToPostfixError
src/math/infix_to_postfix.rs:2
Interface
IntoPressureUnit
Trait for types that can be converted into a PressureUnit
src/conversions/pressure.rs:15
Interface
IntoWeightUnit
Trait for types that can be converted into a WeightUnit
src/conversions/weight.rs:40
Enum
Ipv4Error
src/conversions/ipv4_conversion.rs:11
Enum
IsogramError
src/string/isogram.rs:8
Class
Item
src/dynamic_programming/knapsack.rs:8
Class
Iter
src/data_structures/skip_list.rs:258
Class
Iter
An iterator over the items of an `Treap`. This struct is created by the `iter` method of `Treap`.
src/data_structures/treap.rs:282
Class
Iter
An iterator over the items of an `AVLTree`. This struct is created by the `iter` method of `AVLTree`.
src/data_structures/avl_tree.rs:309
next →
1–100 of 211, ranked by callers