Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ functions
Functions
2,714 in github.com/codemistic/Data-Structures-and-Algorithms
⨍
Functions
2,714
◇
Types & classes
687
↓ 1 callers
Method
compare
(Interval a, Interval b)
LeetCode Solutions/merge interval.java:37
↓ 1 callers
Method
compliment
(int n)
Java/Leetcode/Leetcode476.java:10
↓ 1 callers
Method
compressq
(String str)
Java/String/Compress.java:3
↓ 1 callers
Function
compute
CPP/Trees/Expression_tree/BST.c:151
↓ 1 callers
Function
computePowers
A Dynamic Programming Based Approach to compute the powers of 101
Hashtable/Palindrome-Substring-Queries.cpp:139
↓ 1 callers
Function
computePrefixHash
A Function to calculate the prefix hash
Hashtable/Palindrome-Substring-Queries.cpp:55
↓ 1 callers
Function
computeSuffixHash
A Function to calculate the suffix hash Suffix hash is nothing but the prefix hash of the reversed string
Hashtable/Palindrome-Substring-Queries.cpp:76
↓ 1 callers
Function
constructBITree
CPP/Fenwick Tree/fenwickTree.cpp:26
↓ 1 callers
Method
contains
(int key)
Hashtable/design-hashset.java:15
↓ 1 callers
Function
convertToPostFix
CPP/Trees/Expression_tree/BST.c:58
↓ 1 callers
Method
convertToTitle
(int columnNumber)
Java/Leetcode/Leetcode168.java:10
↓ 1 callers
Function
copyLeftRightNode
This function creates clone by copying key and left and right pointers. This function also stores mapping from given tree node to clone. */
Hashtable/Clone-a-Binary-Tree-with-Random-Pointers.cpp:49
↓ 1 callers
Function
copyRandom
This function copies random node by using the hashmap built by copyLeftRightNode()
Hashtable/Clone-a-Binary-Tree-with-Random-Pointers.cpp:62
↓ 1 callers
Function
costneedstopay
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/Car_Trip.cpp:3
↓ 1 callers
Method
countAndSay
(int n)
Java/Leetcode/Leetcode38.java:9
↓ 1 callers
Function
countBit
CPP/bitmasking/count_bits.cpp:8
↓ 1 callers
Function
countBit_fast
CPP/bitmasking/count_bits.cpp:17
↓ 1 callers
Function
countDigits
CPP/Maths/CountDigit.cpp:4
↓ 1 callers
Function
countMinStepsToOne
(n,dp)
Python/Dynamic_Programming/CountMinSteps.py:13
↓ 1 callers
Function
countMinStepsToOne
(n,dp)
Python/Dynamic_Programming/CountMinSteps_Iterative.py:15
↓ 1 callers
Function
countSetBits
Function to count the total number of set bits in `n`
CPP/Brian_Kernighan’s_algorithm.cpp:15
↓ 1 callers
Method
countSetBits
(int n)
Java/FiveBitManipulation/BitOperations.java:55
↓ 1 callers
Method
countSort
(int arr[], int n, int exp)
Java/RadixSort.java:20
↓ 1 callers
Method
countSort
(int[] arr, int n, int exp)
Java/SortingTechniques/RadixSort.java:12
↓ 1 callers
Method
countSort
(int a[])
Java/SortingTechniques/CountSort.java:33
↓ 1 callers
Method
countStrings
(String st1, String st2)
Java/String/NumOfStringsOutOfString.java:32
↓ 1 callers
Function
countTrailingZeroes
CPP/Maths/trailingZeroInFactorial.cpp:4
↓ 1 callers
Method
countWords
(String str )
Java/String/CountWords.java:8
↓ 1 callers
Function
countZero
CPP/questions/trailZeros.cpp:6
↓ 1 callers
Function
count_till_rep
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/leetcode_82.cpp:60
↓ 1 callers
Function
countingSort
Using counting sort to sort the elements in the basis of significant places
CPP/sorting/radix_sort.cpp:16
↓ 1 callers
Function
countingSortForRadix
(inputArray, placeValue)
Python/radix_sort.py:1
↓ 1 callers
Function
counting_sort
CPP/sorting/countingsort.cpp:11
↓ 1 callers
Function
create
Stack/stack_implementation_using_array.c:9
↓ 1 callers
Method
createLinkedList
()
Java/LinkedList/LengthOfLinkedList.java:16
↓ 1 callers
Method
createQueen
(int n, int index)
Java/LeetCodeN-Queens.java:52
↓ 1 callers
Function
create_maze
(height, width)
Python/dijkstra.py:104
↓ 1 callers
Function
create_parent_grid
(height, width)
Python/dijkstra.py:39
↓ 1 callers
Function
create_unavailable_grid
(height, width)
Python/dijkstra.py:34
↓ 1 callers
Function
createnode
Create a node
CPP/BST/InsertionInABST.cpp:11
↓ 1 callers
Function
ct_d
CPP/LINKED LIST/CIRCULAR LINKED LIST/test4.cpp:25
↓ 1 callers
Function
cutRod
CPP/Dynamic Programming/Rod-Cutting.cpp:25
↓ 1 callers
Function
cycleDFS
CPP/graphseries.cpp:32
↓ 1 callers
Method
cycleSort
(int[] arr)
Java/SortingTechniques/CyclicSort.java:11
↓ 1 callers
Function
dec2bin
(num)
Python/des.py:75
↓ 1 callers
Method
decode
Decodes a shortened URL to its original URL.
CPP/Leetcode/535-encode-and-decode-tinyurl/535-encode-and-decode-tinyurl.cpp:12
↓ 1 callers
Method
decrypt
(String strToDecrypt)
Java/AES.java:51
↓ 1 callers
Method
defang
(String add)
Java/Leetcode/Leetcode1108.java:10
↓ 1 callers
Method
degrees
Set angle measurement units to degrees. Optional argument: fullcircle - a number Set angle measurement units, i. e. set nu
Python/Turtle.py:1463
↓ 1 callers
Method
delay
Return or set the drawing delay in milliseconds. Optional argument: delay -- positive integer Example (for a TurtleScreen i
Python/Turtle.py:1172
↓ 1 callers
Function
deleteNode
CPP/LINKED LIST/CIRCULAR LINKED LIST/circularlinkedliist.cpp:73
↓ 1 callers
Function
deleteNode
Trees/delete_nodes_BST.cpp:67
↓ 1 callers
Function
deleteNode
Delete a nodes
Trees/avltree.c:130
↓ 1 callers
Function
delete_back
CPP/LINKED LIST/SINGLY LINKED LIST/linkedlisttpractice.cpp:56
↓ 1 callers
Function
delete_unsorted
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/delete_unsorted.cpp:80
↓ 1 callers
Function
deletebyposition
CPP/LINKED LIST/DOUBLY LINKED LIST/doublylinkedlist.cpp:85
↓ 1 callers
Function
deleteduplicate
CPP/LINKED LIST/SINGLY LINKED LIST/leetcode83.cpp:36
↓ 1 callers
Function
deletenode
CPP/LINKED LIST/SINGLY LINKED LIST/linkedlistF.cpp:44
↓ 1 callers
Function
deletenode
CPP/LINKED LIST/CIRCULAR LINKED LIST/circularlinked2.cpp:22
↓ 1 callers
Function
deletenode_back
CPP/LINKED LIST/SINGLY LINKED LIST/dummy_node.cpp:131
↓ 1 callers
Function
deletion
Arrays/32_Operations_on_arrays.c:164
↓ 1 callers
Function
demo1
Demo of old turtle.py - module
Python/Turtle.py:3884
↓ 1 callers
Function
demo2
Demo of some new features.
Python/Turtle.py:3937
↓ 1 callers
Method
dequeue
CPP/QUEUE/QueueUsingStack.cpp:13
↓ 1 callers
Function
detectcycle
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/find_begeningof_circle.cpp:117
↓ 1 callers
Function
dfs
CSES/Intro/CheesboardAndQueens.cc:29
↓ 1 callers
Function
dfs
CSES/Intro/GridPaths.cc:11
↓ 1 callers
Function
dfs
CPP/BFS_AND_DFS.cpp:50
↓ 1 callers
Function
dfs
Similar to topological sort function (dfs)
CPP/graph_tree/Kosaraju Algorithm.cpp:4
↓ 1 callers
Function
dfs
(r, c)
Python/minimum_path_sum.py:8
↓ 1 callers
Function
dfs
(visited, graph, node)
Python/Searching-Algorithms/Depth_first_search.py:13
↓ 1 callers
Function
dfs
graph/code18.cpp:57
↓ 1 callers
Function
dfs
graph/code8.cpp:17
↓ 1 callers
Function
dfs
graph/code10.cpp:15
↓ 1 callers
Function
dfs
graph/code5.cpp:13
↓ 1 callers
Method
dfsOfGraph
CPP/graph_tree/dfs.cpp:14
↓ 1 callers
Function
dfsRec
CPP/graph_tree/Kosaraju Algorithm.cpp:19
↓ 1 callers
Function
dfs_func
graph/code20.cpp:35
↓ 1 callers
Function
dfs_rec
graph/code8.cpp:38
↓ 1 callers
Function
dfs_rec
graph/code10.cpp:38
↓ 1 callers
Function
dfs_rec
graph/code5.cpp:27
↓ 1 callers
Function
diameter
Computes the diameter of binary tree with given root. */
CPP/Trees/Diameter_of_tree.cpp:30
↓ 1 callers
Function
digit_sum
CPP/recursion/recursion2.cpp:15
↓ 1 callers
Function
dijkstras_two_stack_algorithm
DocTests >>> dijkstras_two_stack_algorithm("(5 + 3)") 8 >>> dijkstras_two_stack_algorithm("((9 - (2 + 9)) + (8 - 1))") 5 >>>
Python/dijkstras_two_stack_algorithm.py:6
↓ 1 callers
Function
dijstra1
without priority queue
graph/code16.cpp:22
↓ 1 callers
Function
dijstra2
with priority queue
graph/code16.cpp:68
↓ 1 callers
Method
disappear
(int[] arr)
Java/Leetcode/Leetcode448.java:14
↓ 1 callers
Method
disappear
(int[] arr)
Java/Leetcode/Leetcode645.java:15
↓ 1 callers
Method
display
CPP/DS C++/Insertion and Quick sort on Arraylist.cpp:42
↓ 1 callers
Method
display
CPP/DS C++/Sparse Matrix Using Array Representation.cpp:44
↓ 1 callers
Method
display
Stack/stack_implementation_using_array.cpp:18
↓ 1 callers
Method
display_p
CPP/questions/SingleInheritance.cpp:17
↓ 1 callers
Method
display_s
CPP/questions/SingleInheritance.cpp:36
↓ 1 callers
Function
dist_minm
note: line 48 will execute recursively then at the end line 60 will update it then line 50 will make further updations
graph/code19.cpp:32
↓ 1 callers
Method
distance
Return the distance from the turtle to (x,y) in turtle step units. Arguments: x -- a number or a pair/vector of numbers or a t
Python/Turtle.py:1727
↓ 1 callers
Function
divide
(num1, num2)
Python/Calculator.py:24
↓ 1 callers
Function
dp
(i, isPrefix, isBigger)
digit_dp.py:14
↓ 1 callers
Method
duplicate
(int[] arr)
Java/Leetcode/Leetcode442.java:13
↓ 1 callers
Method
duplicateElement
(int[] arr)
Java/Array/FindDuplicate.java:44
↓ 1 callers
Method
encrypt
(String strToEncrypt)
Java/AES.java:24
← previous
next →
601–700 of 2,714, ranked by callers