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
Method
closedIsland
CPP/Problems/Leetcode-1254-NumberOfClosedIslands.cpp:20
Method
clumsy
(self, n: int)
Python/clumsy_factorial.py:2
Method
colormode
Return the colormode or set it to 1.0 or 255. Optional argument: cmode -- one of the values 1.0 or 255 r, g, b values of col
Python/Turtle.py:1079
Method
combinationSum
CPP/Problems/Leetcode-39-CombinationSum.cpp:4
Method
combinationSum
CPP/Problems/Leetcode-40-CombinationSumII.cpp:4
Method
combine
CPP/Problems/Leetcode-77-Combinations.cpp:3
Function
comp
comparator for sorting vector of edges structure
CPP/graphseries.cpp:440
Function
comp
CPP/graph_tree/Kruskal-Algo.cpp:14
Function
comp
CPP/Tries/autoComplete.cpp:47
Function
compare
CPP/Problems/2_ACTIVITY_SELECTION_PROBLEM.CPP:48
Function
compare
CPP/Problems/3_FRACTIONAL_KNAPSACK.CPP:8
Method
connect
Trees/Leetcode-116. Populating Next Right Pointers in Each Node.cpp:4
Method
constructTree
Trees/Construct Binary Tree from Preorder and Inorder Traversal.cpp:24
Method
constructor
(element)
DSA Javascript/linked_list.js:3
Method
constructor
()
DSA Javascript/linked_list.js:10
Method
containsNearbyDuplicate
CPP/Problems/Leetcode-219.cpp:3
Method
copyRandomList
(Node head)
Java/LinkedList/Copy_List_with_Random_Pointer.java:19
Method
countAndSay
CPP/Problems/Leetcode-38-countAndSay.cpp:3
Method
countMatches
(List<List<String>> items, String ruleKey, String ruleValue)
Java/Leetcode/Leetcode1773.java:19
Method
countNegatives
(int[][] grid)
Leetcode-solutions/Binary-search/CountNegGrid.java:6
Function
countNodes
time : O(n) space : O(1)
CPP/LINKED LIST/Linked_list.cpp:54
Method
countNodes
Trees/Leetcode-222. Count Complete Tree Nodes.cpp:4
Method
countOdds
(self, low: int, high: int)
Python/Count-Odd-Numbers-in-an-Interval-Range.py:2
Method
countOperations
(int num1, int num2)
Java/CountOperationsToObtainZero.java:7
Method
countSetBits2
(int n)
Java/FiveBitManipulation/BitOperations.java:68
Method
countSubarrWithEqualZeroAndOne
Function to count subarrays with 1s and 0s.
CPP/arrays/Subarrays with equal 0s and 1s.cpp:4
Function
count_till_rep
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/delete_unsorted.cpp:60
Function
countnodes
CPP/binarytreeuse.cpp:113
Function
createList
CPP/LINKED LIST/Linked_list.cpp:12
Method
createNode
creating nodes
Trees/Leetcode-623. Add One Row to Tree.cpp:30
Method
createParentMapping
Trees/burningTree.cpp:87
Function
create_insert_duplicate_nodes
/------------------PRACTICE QUESTIONS ON BINARY TREE ----------------------------------
CPP/binarytreeuse.cpp:509
Method
cursorLeft
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/Design_a_Text_Editor.cpp:58
Method
cursorLeft
CPP/Leetcode/2296-design-a-text-editor/2296-design-a-text-editor.cpp:46
Method
cursorRight
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/Design_a_Text_Editor.cpp:72
Method
cursorRight
CPP/Leetcode/2296-design-a-text-editor/2296-design-a-text-editor.cpp:57
Function
cutRodUtil
CPP/Dynamic Programming/Rod-Cutting.cpp:5
Function
cycleBFS
CPP/graphseries.cpp:5
Function
cycleDirectedDFS
CPP/graphseries.cpp:135
Function
cycle_sort
(array: list)
Python/Sorting-Techniques/Cyclic_Sort.py:1
Method
delete
(self)
Python/stack using linked list.py:55
Method
deleteAndEarn
CPP/Problems/Delete_and_Earn.cpp:6
Function
deleteList
CPP/LINKED LIST/Linked_list.cpp:95
Method
deleteNode
CPP/Leetcode/237-delete-node-in-a-linked-list/237-delete-node-in-a-linked-list.cpp:11
Method
deleteText
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/Design_a_Text_Editor.cpp:24
Method
deleteText
CPP/Leetcode/2296-design-a-text-editor/2296-design-a-text-editor.cpp:18
Method
delete_beginning
(self)
CPP/LinkedList/all_singly_linkedlist.py:85
Method
delete_end
(self)
CPP/LinkedList/all_singly_linkedlist.py:92
Function
deletenode
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/leet_code_82.cpp:43
Function
deletenode
CPP/LINKED LIST/SINGLY LINKED LIST/dummy_node.cpp:53
Function
deletenode
CPP/LINKED LIST/SINGLY LINKED LIST/linkedlisttpractice.cpp:81
Function
deletenode
CPP/LINKED LIST/DOUBLY LINKED LIST/microsoftquestion.cpp:53
Function
deletenode
CPP/LINKED LIST/DOUBLY LINKED LIST/middleoflinkedlist.cpp:53
Function
deletenode
CPP/LINKED LIST/CIRCULAR LOOP CONCEPTS/checkcircular.cpp:22
Method
dequeue
(self)
Python/circular queue.py:52
Method
dequeue
(self)
Python/queue via stack.py:26
Method
detectCapitalUse
CPP/Leetcode/520-detect-capital/520-detect-capital.cpp:3
Method
detectCycle
(self, head: Optional[ListNode])
Python/linked_list_cycle_2.py:2
Function
detectcycle
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/floydscycle.cpp:89
Function
detectcycle
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/floydscycle_practice.cpp:141
Function
dfs
CPP/graphseries.cpp:73
Method
dfs
CPP/graph_tree/dfs.cpp:4
Method
dfs
CPP/graph_tree/Topological_Sort.cpp:42
Method
dfs
CPP/Problems/Leetcode-1254-NumberOfClosedIslands.cpp:8
Method
dfs
CPP/Problems/Leetcode-733-FloodFill.cpp:8
Method
dfs
CPP/Dynamic Programming/Number of Islands.cpp:11
Method
dfs
Trees/addOneRowToTree.cpp:117
Function
dijkstrasAlgorithm
shortest path in weighted undirected graph
CPP/graphseries.cpp:320
Function
disp
CPP/Trees/Expression_tree/BST.c:108
Function
display
(string_to_print)
Python/CP_Templates.py:2
Method
display
CPP/questions/BasicInheritance.cpp:17
Function
display_2D_list
(li)
Python/CP_Templates.py:129
Function
display_list
(list1, sep=" ")
Python/CP_Templates.py:125
Function
displaylinkedlist
CPP/binarytreeuse.cpp:407
Method
divideArray
(int[] nums)
Java/Leetcode/Leetcode2206.java:2
Method
divisorSubstrings
CPP/sliding-window/Find the K-Beauty of a Number.cpp:10
Method
dot
Draw a dot with diameter size, using color. Optional arguments: size -- an integer >= 1 (if given) color -- a colorstring or
Python/Turtle.py:3250
Function
duplicateZeros
CPP/arrays/DuplicateZeroes.cpp:9
Method
encode
CPP/Leetcode/535-encode-and-decode-tinyurl/535-encode-and-decode-tinyurl.cpp:5
Method
end_fill
Fill the shape drawn after the call begin_fill(). No argument. Example (for a Turtle instance named turtle): >>> turtle.colo
Python/Turtle.py:3230
Method
end_poly
Stop recording the vertices of a polygon. No argument. Stop recording the vertices of a polygon. Current turtle position is
Python/Turtle.py:3351
Method
enqueue
(self,item)
Python/queue via stack.py:23
Method
equilibriumPoint
Function to find equilibrium point in the array. a: input array n: size of array
CPP/arrays/equilibrium_point.cpp:6
Method
eventfun
(event)
Python/Turtle.py:511
Method
exitGracefully
Screen.bye() with two dummy-parameters
Python/Turtle.py:3686
Method
exitonclick
Go into mainloop until the mouse is clicked. No arguments. Bind bye() method to mouseclick on TurtleScreen. If "using_IDLE"
Python/Turtle.py:3667
Method
f
CPP/questions/Max Area of Island.cpp:12
Method
f
CPP/Problems/Leetcode-120-Traingle.cpp:14
Function
factorial_modP_Wilson
(n, p)
Python/CP_Templates.py:40
Function
fast_exp
(base, power)
Python/CP_Templates.py:6
Method
fib
CPP/Leetcode/509-fibonacci-number/509-fibonacci-number.cpp:3
Method
fib
CPP/Dynamic Programming/fibonacci Num.cpp:6
Function
fibonacci_modP
(n, MOD)
Python/CP_Templates.py:35
Method
fillcolor
Return or set the fillcolor. Arguments: Four input formats are allowed: - fillcolor() Return the current fillc
Python/Turtle.py:2158
Method
finalValueAfterOperations
CPP/Leetcode/2011-final-value-of-variable-after-performing-operations/2011-final-value-of-variable-after-performing-operations.cpp:3
Method
findClosestElements
CPP/sliding-window/leetcode-658-find-k-closest-elements.cpp:6
Method
findCombinations
CPP/Problems/Leetcode-39-CombinationSum.cpp:10
Method
findCombinations
CPP/Problems/Leetcode-40-CombinationSumII.cpp:10
Method
findDisappearedNumbers
CPP/Leetcode/448-find-all-numbers-disappeared-in-an-array/448-find-all-numbers-disappeared-in-an-array.cpp:3
Method
findDuplicate
CPP/Leetcode/287-find-the-duplicate-number/287-find-the-duplicate-number.cpp:3
← previous
next →
1,501–1,600 of 2,714, ranked by callers