Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djeada/Algorithms-And-Data-Structures
/ functions
Functions
1,481 in github.com/djeada/Algorithms-And-Data-Structures
⨍
Functions
1,481
◇
Types & classes
357
Method
__init__
( self, value: int, left: Optional[TreeNode] = None, right: Optional[TreeNode]
src/brain_teasers/python/range_sum_of_bst/src/range_sum_of_bst.py:11
Method
__init__
( self, key: int, value: int, next: Optional[ListNode] = None )
src/brain_teasers/python/lru_cache/src/lru_cache.py:11
Method
__init__
(self)
src/brain_teasers/python/lru_cache/src/lru_cache.py:23
Method
__init__
Initialize the LRU cache with a given capacity. Args: capacity: Maximum number of items the cache can hold.
src/brain_teasers/python/lru_cache/src/lru_cache.py:80
Method
__init__
Initialize the browser with a homepage. Args: homepage: The initial URL to display.
src/brain_teasers/python/design_browser_history/src/design_browser_history.py:9
Method
__iter__
(self)
src/collections_and_containers/python/vector/src/vector.py:16
Method
__iter__
(self)
src/collections_and_containers/python/linked_list/src/linked_list.py:117
Method
__iter__
(self)
src/brain_teasers/python/bst_to_list/src/bst_to_list.py:85
Method
__iter__
(self)
src/brain_teasers/python/lru_cache/src/lru_cache.py:59
Method
__len__
(self)
src/collections_and_containers/python/vector/src/vector.py:20
Method
__lt__
(self, other: object)
src/graphs/python/a_star/src/graph.py:22
Method
__lt__
(self, other: object)
src/graphs/python/a_star/src/graph.py:51
Method
__lt__
(self, other: object)
src/graphs/python/bellman_ford/src/graph.py:22
Method
__lt__
(self, other: object)
src/graphs/python/bellman_ford/src/graph.py:51
Method
__lt__
(self, other: object)
src/graphs/python/dijkstra/src/graph.py:22
Method
__lt__
(self, other: object)
src/graphs/python/dijkstra/src/graph.py:51
Method
__lt__
(self, other: object)
src/graphs/python/prim/src/graph.py:22
Method
__lt__
(self, other: object)
src/graphs/python/prim/src/graph.py:51
Method
__lt__
(self, other: object)
src/graphs/python/bfs/src/graph.py:22
Method
__lt__
(self, other: object)
src/graphs/python/bfs/src/graph.py:51
Method
__lt__
(self, other: object)
src/graphs/python/graph/src/graph.py:22
Method
__lt__
(self, other: object)
src/graphs/python/graph/src/graph.py:51
Method
__lt__
(self, other: object)
src/graphs/python/dfs/src/graph.py:22
Method
__lt__
(self, other: object)
src/graphs/python/dfs/src/graph.py:51
Method
__lt__
(self, other: object)
src/graphs/python/kruskal/src/graph.py:22
Method
__lt__
(self, other: object)
src/graphs/python/kruskal/src/graph.py:51
Method
__repr__
(self)
src/collections_and_containers/python/linked_list/src/linked_list.py:126
Method
__repr__
(self)
src/graphs/python/a_star/src/graph.py:27
Method
__repr__
(self)
src/graphs/python/a_star/src/graph.py:56
Method
__repr__
(self)
src/graphs/python/a_star/src/graph.py:121
Method
__repr__
(self)
src/graphs/python/bellman_ford/src/graph.py:27
Method
__repr__
(self)
src/graphs/python/bellman_ford/src/graph.py:56
Method
__repr__
(self)
src/graphs/python/bellman_ford/src/graph.py:121
Method
__repr__
(self)
src/graphs/python/dijkstra/src/graph.py:27
Method
__repr__
(self)
src/graphs/python/dijkstra/src/graph.py:56
Method
__repr__
(self)
src/graphs/python/dijkstra/src/graph.py:121
Method
__repr__
(self)
src/graphs/python/prim/src/graph.py:27
Method
__repr__
(self)
src/graphs/python/prim/src/graph.py:56
Method
__repr__
(self)
src/graphs/python/prim/src/graph.py:121
Method
__repr__
(self)
src/graphs/python/bfs/src/graph.py:27
Method
__repr__
(self)
src/graphs/python/bfs/src/graph.py:56
Method
__repr__
(self)
src/graphs/python/bfs/src/graph.py:121
Method
__repr__
(self)
src/graphs/python/graph/src/graph.py:27
Method
__repr__
(self)
src/graphs/python/graph/src/graph.py:56
Method
__repr__
(self)
src/graphs/python/graph/src/graph.py:121
Method
__repr__
(self)
src/graphs/python/dfs/src/graph.py:27
Method
__repr__
(self)
src/graphs/python/dfs/src/graph.py:56
Method
__repr__
(self)
src/graphs/python/dfs/src/graph.py:121
Method
__repr__
(self)
src/graphs/python/kruskal/src/graph.py:27
Method
__repr__
(self)
src/graphs/python/kruskal/src/graph.py:56
Method
__repr__
(self)
src/graphs/python/kruskal/src/graph.py:121
Method
__setitem__
(self, i: int, value: Any)
src/collections_and_containers/python/vector/src/vector.py:28
Method
__setitem__
(self, key: Any, value: Any)
src/collections_and_containers/python/hash_table/src/hash_table.py:76
Method
__str__
(self)
src/collections_and_containers/python/binary_search_tree/src/binary_search_tree.py:154
Method
__str__
(self)
src/collections_and_containers/python/linked_list/src/linked_list.py:123
Method
__str__
(self)
src/collections_and_containers/python/heap/src/heap.py:95
Method
__str__
(self)
src/brain_teasers/python/bst_to_list/src/bst_to_list.py:91
Method
__str__
(self)
src/brain_teasers/python/lru_cache/src/lru_cache.py:65
Method
_find_min
(p: Optional[Node])
src/collections_and_containers/python/binary_search_tree/src/binary_search_tree.py:53
Method
addVertex
src/graphs/cpp/a_star/src/graph.cpp:95
Method
addVertex
src/graphs/cpp/bellman_ford/src/graph.cpp:73
Method
addVertex
src/graphs/cpp/dijkstra/src/graph.cpp:73
Method
addVertex
src/graphs/cpp/prim/src/graph.cpp:74
Method
addVertex
src/graphs/cpp/bfs/src/graph.cpp:73
Method
addVertex
src/graphs/cpp/dfs/src/graph.cpp:73
Method
addVertex
src/graphs/cpp/kruskal/src/graph.cpp:76
Method
add_vertex
Add a vertex to the graph.
src/graphs/python/a_star/src/graph.py:76
Method
add_vertex
Add a vertex to the graph.
src/graphs/python/bellman_ford/src/graph.py:76
Method
add_vertex
Add a vertex to the graph.
src/graphs/python/dijkstra/src/graph.py:76
Method
add_vertex
Add a vertex to the graph.
src/graphs/python/prim/src/graph.py:76
Method
add_vertex
Add a vertex to the graph.
src/graphs/python/bfs/src/graph.py:76
Method
add_vertex
Add a vertex to the graph.
src/graphs/python/dfs/src/graph.py:76
Method
add_vertex
Add a vertex to the graph.
src/graphs/python/kruskal/src/graph.py:76
Function
all_permutations_backtracking
Return all permutations of input_list using in-place backtracking. Time complexity: O(n! * n) where n = len(input_list). We
src/backtracking/python/all_permutations/src/all_permutations.py:18
Function
all_permutations_itertools
Return all permutations of input_list using itertools.permutations, converted into lists. Time complexity: O(n! * n) where n = l
src/backtracking/python/all_permutations/src/all_permutations.py:5
Method
balance
src/collections_and_containers/cpp/avl_tree/src/avl_tree.cpp:191
Method
balance
src/collections_and_containers/cpp/red_black_tree/src/red_black_tree.cpp:211
Function
canConstructMemo
src/dynamic_programming/cpp/can_construct/src/can_construct.cpp:24
Function
canConstructTable
src/dynamic_programming/cpp/can_construct/src/can_construct.cpp:61
Method
capacity
src/collections_and_containers/cpp/vector/src/vector.cpp:112
Method
clear
src/collections_and_containers/cpp/heap/src/heap.cpp:82
Method
clear
src/collections_and_containers/cpp/stack/src/stack.cpp:64
Method
clear
src/collections_and_containers/cpp/queue/src/queue.cpp:84
Method
connected
Check if two vertices are directly connected by an edge.
src/graphs/python/a_star/src/graph.py:98
Method
connected
Check if two vertices are directly connected by an edge.
src/graphs/python/bellman_ford/src/graph.py:98
Method
connected
Check if two vertices are directly connected by an edge.
src/graphs/python/dijkstra/src/graph.py:98
Method
connected
Check if two vertices are directly connected by an edge.
src/graphs/python/prim/src/graph.py:98
Method
connected
Check if two vertices are directly connected by an edge.
src/graphs/python/bfs/src/graph.py:98
Method
connected
Check if two vertices are directly connected by an edge.
src/graphs/python/dfs/src/graph.py:98
Method
connected
Check if two vertices are directly connected by an edge.
src/graphs/python/kruskal/src/graph.py:98
Method
connected
src/graphs/cpp/a_star/src/graph.cpp:132
Method
connected
src/graphs/cpp/bellman_ford/src/graph.cpp:110
Method
connected
src/graphs/cpp/dijkstra/src/graph.cpp:110
Method
connected
src/graphs/cpp/prim/src/graph.cpp:111
Method
connected
src/graphs/cpp/bfs/src/graph.cpp:110
Method
connected
src/graphs/cpp/graph/src/graph.cpp:110
Method
connected
src/graphs/cpp/dfs/src/graph.cpp:110
Method
connected
src/graphs/cpp/kruskal/src/graph.cpp:113
Method
contains
src/collections_and_containers/cpp/linked_list/src/linked_list.cpp:157
Method
contains
Check if the graph contains the given vertex.
src/graphs/python/prim/src/graph.py:94
← previous
next →
701–800 of 1,481, ranked by callers