Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devparthgarg/Data-Structures-and-Algorithms
/ functions
Functions
1,161 in github.com/devparthgarg/Data-Structures-and-Algorithms
⨍
Functions
1,161
◇
Types & classes
111
Method
Node
16. Binary Search Tree/01 Search in BST/01b Search in BST.cpp:11
Method
Node
16. Binary Search Tree/01 Search in BST/01a Search in BST.cpp:11
Method
Node
15. Binary Tree/16 Maximum Width of Binary Tree/16.cpp:11
Method
Node
15. Binary Tree/08 Print Nodes at K Distance/08.cpp:11
Method
Node
15. Binary Tree/20 Diameter of Binary Tree/20.cpp:11
Method
Node
15. Binary Tree/12 Maximum in Binary Tree/12b.cpp:11
Method
Node
15. Binary Tree/12 Maximum in Binary Tree/12a.cpp:11
Method
Node
15. Binary Tree/22 Burn Binary Tree from Leaf/22.cpp:11
Method
Node
15. Binary Tree/04 Inorder Traversal/04.cpp:11
Method
Node
15. Binary Tree/06 Postorder Traversal/06.cpp:11
Method
Node
15. Binary Tree/11 Size of Binary Tree/11a.cpp:11
Method
Node
15. Binary Tree/11 Size of Binary Tree/11b.cpp:11
Method
Node
15. Binary Tree/17 Convert Binary Tree to Doubly Linked List/17.cpp:11
Method
Node
15. Binary Tree/13 Left View of Binary Tree/13b.cpp:11
Method
Node
15. Binary Tree/13 Left View of Binary Tree/13a.cpp:11
Method
Node
15. Binary Tree/10 Level Order Traversal Line by Line/10b.cpp:11
Method
Node
15. Binary Tree/10 Level Order Traversal Line by Line/10a.cpp:11
Method
Node
15. Binary Tree/10 Level Order Traversal Line by Line/10c.cpp:11
Method
Node
15. Binary Tree/21 LCA of Binary Tree/21b.cpp:11
Method
Node
15. Binary Tree/21 LCA of Binary Tree/21a.cpp:11
Method
Node
15. Binary Tree/24 Serialize and Deserialize Binary Tree/24.cpp:11
Method
Node
15. Binary Tree/14 Children Sum Property/14.cpp:11
Method
Node
15. Binary Tree/19 Tree Traversal in Spiral Form/19a.cpp:11
Method
Node
15. Binary Tree/19 Tree Traversal in Spiral Form/19b.cpp:11
Method
Node
15. Binary Tree/23 Count Nodes in Complete Binary Tree/23a.cpp:11
Method
Node
15. Binary Tree/23 Count Nodes in Complete Binary Tree/23b.cpp:11
Method
Node
15. Binary Tree/07 Height of Tree/07.cpp:11
Method
Node
15. Binary Tree/25 Iterative Inorder Traversal/24.cpp:11
Method
Node
15. Binary Tree/15 Check for Balanced Binary Tree/15b.cpp:11
Method
Node
15. Binary Tree/15 Check for Balanced Binary Tree/15a.cpp:11
Method
Node
15. Binary Tree/05 Preorder Traversal/05.cpp:11
Method
Node
15. Binary Tree/09 Level Order Traversal/09b.cpp:11
Method
Node
15. Binary Tree/09 Level Order Traversal/09a.cpp:11
Method
Node
15. Binary Tree/02 Tree Class/02.cpp:17
Method
Person
17. Heaps/10 Priority Queue STL/10d Priority Queue STL.cpp:10
Method
Stack
13. Queue/03_Implement_Stack_using_Queue.cpp:10
Method
Trie
22. Trie/02 Trie Representation.cpp:10
Method
Trie
22. Trie/03 Trie Delete.cpp:9
Method
TwoStacks
12. Stacks/05 Two Stacks in an Array/05 Two Stacks in an Array.cpp:16
Method
buildHeap
array given,elemets in any order convert into minheap
17. Heaps/08 Build Heap/08 Build Heap.cpp:114
Function
compare
17. Heaps/14 K Closest Elements/14a K-Closest Elements.cpp:4
Function
compare1
07. Sorting/01 Sort STL/01c STL Class.cpp:10
Function
compare2
07. Sorting/01 Sort STL/01c STL Class.cpp:15
Function
countDistinct_Oneliner
09. Hashing/03 Count Distinct/03b Count Distinct.cpp:16
Method
decreaseKey
17. Heaps/07 Delete/07 Delete.cpp:96
Method
decreaseKey
17. Heaps/06 Decrease Key/06 Decrease Key.cpp:96
Method
decreaseKey
17. Heaps/08 Build Heap/08 Build Heap.cpp:96
Function
del
Time: O(N)
22. Trie/03 Trie Delete.cpp:34
Method
deleteFront
14. Deque/02 Array Implementation of Deque/02.cpp:63
Method
deleteKey
17. Heaps/07 Delete/07 Delete.cpp:107
Method
deleteKey
17. Heaps/08 Build Heap/08 Build Heap.cpp:107
Method
deleteRear
14. Deque/02 Array Implementation of Deque/02.cpp:38
Method
extractMin
17. Heaps/07 Delete/07 Delete.cpp:76
Method
extractMin
17. Heaps/06 Decrease Key/06 Decrease Key.cpp:76
Method
extractMin
17. Heaps/05 Extract Min/05 Extract Min.cpp:76
Method
extractMin
17. Heaps/08 Build Heap/08 Build Heap.cpp:76
Function
insert
Time: O(n)
22. Trie/02 Trie Representation.cpp:41
Method
insert
17. Heaps/04 Heapify/04 Heapify.cpp:34
Method
insert
17. Heaps/06 Decrease Key/06 Decrease Key.cpp:34
Method
insert
17. Heaps/05 Extract Min/05 Extract Min.cpp:34
Method
insert
17. Heaps/08 Build Heap/08 Build Heap.cpp:34
Method
insert
17. Heaps/03 Insert/03 Insert.cpp:32
Method
insertFront
14. Deque/02 Array Implementation of Deque/02.cpp:48
Method
insertRear
14. Deque/02 Array Implementation of Deque/02.cpp:27
Method
isEmpty
14. Deque/02 Array Implementation of Deque/02.cpp:22
Method
isEmpty
12. Stacks/06 K Stacks in an Array/06 K Stacks in an Array.cpp:38
Method
isFull
14. Deque/02 Array Implementation of Deque/02.cpp:17
Method
isFull
12. Stacks/06 K Stacks in an Array/06 K Stacks in an Array.cpp:33
Method
kStacks
12. Stacks/06 K Stacks in an Array/06 K Stacks in an Array.cpp:13
Method
left
17. Heaps/04 Heapify/04 Heapify.cpp:19
Method
left
17. Heaps/07 Delete/07 Delete.cpp:19
Method
left
17. Heaps/06 Decrease Key/06 Decrease Key.cpp:19
Method
left
17. Heaps/05 Extract Min/05 Extract Min.cpp:19
Method
left
17. Heaps/08 Build Heap/08 Build Heap.cpp:19
Method
left
17. Heaps/02 Implementation/02 Implementation.cpp:19
Method
left
17. Heaps/03 Insert/03 Insert.cpp:17
Function
main
01. Time and Space Analysis/01 Need of Asymptotic Analysis/code.cpp:35
Function
main
01. Time and Space Analysis/04 Time and Space Complexity Order/code.cpp:4
Function
main
01. Time and Space Analysis/07 Analysis of Iterative Loops/code.cpp:4
Function
main
01. Time and Space Analysis/08 Analysis of Recursion/code.cpp:4
Function
main
01. Time and Space Analysis/02 Asymptotic Analysis/code.cpp:4
Function
main
01. Time and Space Analysis/05 Best, Average, Worst Case/code.cpp:4
Function
main
01. Time and Space Analysis/03 Order of Growth/code.cpp:4
Function
main
01. Time and Space Analysis/06 Asymptotic Notations/code.cpp:4
Function
main
20. Backtracking/01 Print Permutations of Strings with Given Condition/01a Print Permutations of Strings with Given Condition.cpp:28
Function
main
20. Backtracking/01 Print Permutations of Strings with Given Condition/01b Print Permutations of Strings with Given Condition.cpp:47
Function
main
20. Backtracking/02 Rat in a Maze/02 Rat in a Maze.cpp:62
Function
main
09. Hashing/Introduction.cpp:4
Function
main
09. Hashing/12 Longest Common Span with Same Sum in Binary Array/12a Longest Common Span with Same Sum in Binary Array.cpp:25
Function
main
09. Hashing/09 Subarray with Given Sum/09b SubArray with given Sum.cpp:27
Function
main
09. Hashing/09 Subarray with Given Sum/09a SubArray with given Sum.cpp:22
Function
main
09. Hashing/10 Longest Subarray with Given Sum/10a Longest SubArray with given Sum.cpp:24
Function
main
09. Hashing/10 Longest Subarray with Given Sum/10b Longest SubArray with given Sum.cpp:31
Function
main
09. Hashing/13 Longest Common Subsequence/13a Longest Consecutive SubSequence.cpp:25
Function
main
09. Hashing/04 Frequencies of Elements/04a Frequencies of Elements.cpp:37
Function
main
09. Hashing/04 Frequencies of Elements/04b Frequencies of Elements.cpp:19
Function
main
09. Hashing/03 Count Distinct/03b Count Distinct.cpp:22
Function
main
09. Hashing/03 Count Distinct/03a Count Distinct.cpp:28
Function
main
09. Hashing/08 Subarray with Zero Sum/08b SubArray with Zero Sum.cpp:27
Function
main
09. Hashing/08 Subarray with Zero Sum/08a SubArray with Zero Sum.cpp:23
← previous
next →
601–700 of 1,161, ranked by callers