Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/C-Plus-Plus
/ types & classes
Types & classes
164 in github.com/TheAlgorithms/C-Plus-Plus
⨍
Functions
2,100
◇
Types & classes
164
↓ 64 callers
Class
uint128_t
ciphers/uint128_t.hpp:22
↓ 54 callers
Class
uint256_t
ciphers/uint256_t.hpp:18
↓ 13 callers
Class
Point
Define a point */
others/smallest_circle.cpp:15
↓ 13 callers
Class
TestCase
* @brief represents single example inputs and expected output of the function * ::longest_common_string_length */
dynamic_programming/longest_common_string.cpp:54
↓ 10 callers
Class
TestCase
math/n_bonacci.cpp:70
↓ 9 callers
Class
TestCase
math/ncr_modulo_p.cpp:143
↓ 8 callers
Class
large_number
* Store large unsigned numbers as a C++ vector * The class provides convenience functions to add a * digit to the number, perform multiplication of
math/large_number.h:24
↓ 4 callers
Class
TestCase
hashing/sha256.cpp:287
↓ 4 callers
Class
query
range_queries/mo.cpp:9
↓ 3 callers
Class
DenseLayer
* neural_network::layers::DenseLayer class is used to store all necessary * information about the layers (i.e. neurons, activation and kernel). This
machine_learning/neural_network.cpp:125
↓ 3 callers
Class
Knn
* @brief K-Nearest Neighbors (Knn) class using Euclidean distance as * distance metric. */
machine_learning/k_nearest_neighbors.cpp:55
↓ 3 callers
Class
Node
range_queries/persistent_seg_tree_lazy_prop.cpp:42
↓ 2 callers
Class
MemorisedFactorial
math/factorial_memoization.cpp:27
↓ 2 callers
Class
NCRModuloP
namespace utils * @brief Class which contains all methods required for calculating nCr mod p */
math/ncr_modulo_p.cpp:79
↓ 2 callers
Class
NeuralNetwork
namespace layers * NeuralNetwork class is implements MLP. This class is * used by actual user to create and train networks. * */
machine_learning/neural_network.cpp:247
↓ 2 callers
Class
geometric_distribution
* @brief A class to model the geometric distribution */
probability/geometric_dist.cpp:55
↓ 1 callers
Class
Complex
* \brief Class Complex to represent complex numbers as a field. */
math/complex_numbers.cpp:20
↓ 1 callers
Class
Entry
hashing/quadratic_probing_hash_table.cpp:22
↓ 1 callers
Class
HKGraph
* @brief Represents Bipartite graph for * Hopcroft Karp implementation */
graph/hopcroft_karp.cpp:66
↓ 1 callers
Class
Solution
graph/bridge_finding_with_tarjan_algorithm.cpp:11
↓ 1 callers
Class
TestCases
* @brief a class containing the necessary test cases */
sorting/random_pivot_quick_sort.cpp:181
Class
AyStarSearch
machine_learning/a_star_search.cpp:290
Class
BT
* @brief BT used to make the entire structure of the binary tree and the * functions associated with the binary tree */
others/recursive_tree_traversal.cpp:88
Class
BinaryAddition
* @brief A class to perform binary addition of two binary strings. */
greedy_algorithms/binary_addition.cpp:31
Class
BinaryTree
* @brief defines the functions associated with the binary tree */
others/iterative_tree_traversals.cpp:67
Class
BinaryTree
* @brief A Binary Tree class that implements a Binary Search Tree *(BST) by default. */
operations_on_datastructures/reverse_binary_tree.cpp:52
Class
Bitset
* @brief Simple bitset implementation for bloom filter */
data_structures/bloom_filter.cpp:40
Class
BloomFilter
data_structures/bloom_filter.cpp:99
Class
Btree
data_structures/morrisinorder.cpp:10
Class
Btree
data_structures/morrisinorder.cpp:12
Class
CircularLinkedList
* @brief A class that implements a Circular Linked List. */
operations_on_datastructures/circular_linked_list.cpp:57
Class
Compare
cpu_scheduling_algorithms/non_preemptive_sjf_scheduling.cpp:61
Class
Compare
cpu_scheduling_algorithms/fcfs_scheduling.cpp:63
Class
Convexhull
* Class which can be called from main and is globally available * throughout the code */
geometry/jarvis_algorithm.cpp:55
Class
CycleCheck
* Check if a directed graph has a cycle or not. * * This class provides 2 methods to check for cycle in a directed graph: * isCyclicDFS & isCyclicB
graph/cycle_check_directed_graph.cpp:159
Class
D_Node
others/lru_cache2.cpp:42
Class
D_Node
others/lfu_cache.cpp:45
Class
DigitSeparation
* @brief A class that provides methods to separate the digits of a large * positive number. */
greedy_algorithms/digit_separation.cpp:35
Class
EasterYearMonthDay
* @brief Contains information for Easter date */
others/easter.cpp:27
Class
Edge
* Implementation of non-weighted directed edge of a graph. * * The source vertex of the edge is labelled "src" and destination vertex is * labelled
graph/cycle_check_directed_graph.cpp:25
Class
Edge
Wrapper class for storing an edge
dynamic_programming/bellman_ford.cpp:8
Class
EightPuzzle
machine_learning/a_star_search.cpp:62
Class
Entry
hashing/double_hash_hash_table.cpp:22
Class
Entry
hashing/linear_probing_hash_table.cpp:21
Class
FCFS
cpu_scheduling_algorithms/fcfs_scheduling.cpp:98
Class
Graph
* @brief Wrapper class for storing a graph */
greedy_algorithms/dijkstra_greedy.cpp:35
Class
Graph
graph/breadth_first_search.cpp:63
Class
Graph
* Implementation of graph class. * * The graph will be represented using Adjacency List representation. * This class contains 2 data members "m_ver
graph/cycle_check_directed_graph.cpp:55
Class
Graph
* @brief Class for representing graph as an adjacency list. */
graph/is_graph_bipartite.cpp:51
Class
Graph
graph/max_flow_with_ford_fulkerson_and_edmond_karp_algo.cpp:18
Class
Graph
* @class Graph * @brief Class that represents a directed graph and provides methods for * manipulating the graph */
graph/topological_sort.cpp:38
Class
Graph
* Class for representing a graph as an adjacency list. * Its vertices are indexed 0, 1, ..., N - 1. */
graph/lowest_common_ancestor.cpp:53
Class
Graph
Wrapper class for storing a graph
dynamic_programming/floyd_warshall.cpp:11
Class
Graph
Wrapper class for storing a graph
dynamic_programming/bellman_ford.cpp:14
Class
HLD
range_queries/heavy_light_decomposition.cpp:342
Class
Hash
* @class Hash * @brief Contains hash array and functions to update it and convert it to a * hexadecimal string */
hashing/sha256.cpp:40
Class
HillCipher
* @brief Implementation of [Hill * Cipher](https://en.wikipedia.org/wiki/Hill_cipher) algorithm */
ciphers/hill_cipher.cpp:82
Class
Info
machine_learning/a_star_search.cpp:295
Class
Item
greedy_algorithms/knapsack.cpp:4
Class
LFUCache
others/lfu_cache.cpp:64
Class
LRUCache
others/lru_cache2.cpp:61
Class
LRUCache
* @brief LRU cache class */
others/lru_cache.cpp:68
Class
ListNode
* Definition for singly-linked list. */
search/median_search2.cpp:31
Class
Longest_Substring
* @class Longest_Substring * @brief Class that solves the Longest Substring Without Repeating Characters problem. */
others/longest_substring_without_repeating_characters.cpp:37
Class
LowestCommonAncestor
* A structure that holds a rooted tree and allow for effecient * queries of the lowest common ancestor of two given vertices in the tree. */
graph/lowest_common_ancestor.cpp:145
Class
Matrix
divide_and_conquer/strassen_matrix_multiplication.cpp:40
Class
MinHeap
A class for Min Heap */
data_structures/binaryheap.cpp:10
Class
MinHeapNode
A Huffman tree node
greedy_algorithms/huffman.cpp:7
Class
MyQueue
data_structures/queue_using_two_stacks.cpp:19
Class
Node
* @brief defines the structure of a node of the tree */
others/iterative_tree_traversals.cpp:58
Class
Node
others/iterative_tree_traversals.cpp:60
Class
Node
* @brief The structure to hold Nodes of the tree. * @param data Value that will be stored in the node. * @param left follow up left subtree. * @par
others/recursive_tree_traversal.cpp:79
Class
Node
others/recursive_tree_traversal.cpp:81
Class
Node
* @brief A Node structure representing a single link Node in a linked list */
search/sublist_search.cpp:48
Class
Node
data_structures/linkedlist_implentation_usingarray.cpp:14
Class
Node
* Node structure [Key][Node*, Node*...] */
data_structures/skip_list.cpp:33
Class
Node
data_structures/node.hpp:16
Class
Node
* A Node class containing a value and pointer to another link */
data_structures/reverse_a_linked_list.cpp:42
Class
Node
data_structures/trie_using_hashmap.cpp:44
Class
Node
@brief 2-3-4 tree node class */
data_structures/tree_234.cpp:35
Class
Node
hashing/chaining.cpp:21
Class
Node
hashing/chaining.cpp:23
Class
Node
* @brief A Node structure representing a single node in BST */
operations_on_datastructures/inorder_successor_of_bst.cpp:56
Class
Node
* @brief A Node struct that represents a single Node in a Binary Tree */
operations_on_datastructures/circular_linked_list.cpp:32
Class
Node
* @brief A Node struct that represents a single node in a Binary Tree */
operations_on_datastructures/reverse_binary_tree.cpp:34
Class
Node
operations_on_datastructures/get_size_of_linked_list.cpp:3
Class
NodeInfo
@brief This is a helper structure to do a level order traversal to print * the tree. */
data_structures/tree_234.cpp:1151
Class
Point
* Structure defining the x and y co-ordinates of the given * point in space */
geometry/jarvis_algorithm.cpp:47
Class
Point
* @struct Point * @brief for X and Y co-ordinates of the co-ordinate. ******************************************************************************
geometry/graham_scan_functions.hpp:64
Class
Point
* Define a Point. */
geometry/line_segment_intersection.cpp:12
Class
Point
ciphers/elliptic_curve_key_exchange.cpp:46
Class
Queue
data_structures/circular_queue_using_linked_list.cpp:7
Class
Queue
data_structures/binary_search_tree.cpp:17
Class
Queue_Array
* @brief Queue_Array class containing the main data and also index of head and * tail of the array. */
data_structures/queue_using_array.cpp:44
Class
RBtree
data_structures/rb_tree.cpp:13
Class
RootedTree
* Representation of a rooted tree. For every vertex its parent is * precalculated. */
graph/lowest_common_ancestor.cpp:84
Class
SG
range_queries/heavy_light_decomposition.cpp:257
Class
SJF
cpu_scheduling_algorithms/non_preemptive_sjf_scheduling.cpp:96
Class
SegmentIntersection
* intersect returns true if segments of two line intersects and * false if they do not. It calls the subroutines direction * which computes the orie
geometry/line_segment_intersection.cpp:22
Class
SegmentTree
data_structures/segment_tree.cpp:30
next →
1–100 of 164, ranked by callers