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
↓ 2 callers
Function
get_offset
(index)
Python/dijkstra.py:18
↓ 2 callers
Function
get_opposite_index
(index)
Python/dijkstra.py:27
↓ 2 callers
Method
getdata
CPP/DS C++/Binary & Selection sort search on given array list.cpp:12
↓ 2 callers
Function
hasPathSum
Trees/pathSum.cpp:8
↓ 2 callers
Function
heapify
function to heapify a subtree. Here 'i' is the index of root node in array a[], and 'n' is the size of heap. */
CPP/sorting/heap_sort.cpp:5
↓ 2 callers
Function
heapify
(customList,n,i)
Python/all sorting methods.py:149
↓ 2 callers
Function
heapify
(arr, N, i)
Python/Sorting-Techniques/heapSort.py:1
↓ 2 callers
Function
hex2bin
(s)
Python/des.py:5
↓ 2 callers
Function
initial
CPP/array-2d/max_array.cpp:37
↓ 2 callers
Function
insert
CPP/arrays/DuplicateZeroes.cpp:4
↓ 2 callers
Method
insert
(self, word)
Python/Trie.py:12
↓ 2 callers
Method
insert
(Node node)
Java/Leetcode/LeetcodeLruCache.java:44
↓ 2 callers
Function
insertathead
CPP/LINKED LIST/SINGLY LINKED LIST/linkedlistF.cpp:34
↓ 2 callers
Function
insertathead
CPP/LINKED LIST/DOUBLY LINKED LIST/doublyreverselinked.cpp:33
↓ 2 callers
Function
insertathead
CPP/LINKED LIST/DOUBLY LINKED LIST/doublylinkedlistpractice.cpp:16
↓ 2 callers
Function
insertathead
CPP/LINKED LIST/DOUBLY LINKED LIST/doublylinkedlist.cpp:44
↓ 2 callers
Function
insertattail
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/floydscycle.cpp:37
↓ 2 callers
Function
insertattail
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/test.cpp:38
↓ 2 callers
Function
insertattail
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/floydscycle_practice.cpp:62
↓ 2 callers
Function
insertattail
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/detectloop.cpp:37
↓ 2 callers
Function
insertattail
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/find_begeningof_circle.cpp:38
↓ 2 callers
Function
insertattail
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/merge_two_linked.cpp:17
↓ 2 callers
Function
insertattail
CPP/LINKED LIST/SINGLY LINKED LIST/linkedlistF.cpp:39
↓ 2 callers
Function
insertattail
CPP/LINKED LIST/DOUBLY LINKED LIST/doublyreverselinked.cpp:26
↓ 2 callers
Function
insertattail
CPP/LINKED LIST/DOUBLY LINKED LIST/doublylinkedlistpractice.cpp:25
↓ 2 callers
Function
insertion
Arrays/32_Operations_on_arrays.c:59
↓ 2 callers
Method
isEmpty
(self,stacknum)
Python/DIVIDE THE LIST INTO THREE STACKS.py:16
↓ 2 callers
Method
isGreaterEqual
(int num, int target)
Leetcode-solutions/Binary-search/SearchInsertPosition.java:42
↓ 2 callers
Function
isPalin
CPP/Dynamic Programming/Palindrome Partitioning II.cpp:1
↓ 2 callers
Function
isSame
CPP/String/angramSearch.cpp:6
↓ 2 callers
Function
kadanes_algorithm
Standard Kadane's Algorithm for maximum sum subarray.
circular_kadne.py:1
↓ 2 callers
Function
ks
Dynamic Programming/0-1Knapsack.cpp:10
↓ 2 callers
Method
left
Turn turtle left by angle units. Aliases: left | lt Argument: angle -- a number (integer or float) Turn turtle left
Python/Turtle.py:1579
↓ 2 callers
Function
length
CPP/LINKED LIST/SINGLY LINKED LIST/dummy_node.cpp:86
↓ 2 callers
Function
manacher
CPP/Dynamic Programming/Circular Palindromes.cpp:33
↓ 2 callers
Function
max_min_sliding_window
CPP/LINKED LIST/SINGLY LINKED LIST/Maths For DSA/Sliding Window Problem/maxmin_sum.cpp:7
↓ 2 callers
Function
max_segtree
CPP/Segment Tree/Maximum element query.cpp:112
↓ 2 callers
Function
move
Move snake forward one segment.
Python/snake.py:30
↓ 2 callers
Function
newNode
Create a node
Trees/avltree.c:29
↓ 2 callers
Function
odd_even
(param)
Python/odd-even.py:9
↓ 2 callers
Method
onclick
Bind fun to mouse-click event on this turtle on canvas. Arguments: fun -- a function with two arguments, to which will be assigned
Python/Turtle.py:3422
↓ 2 callers
Method
palin
(StringBuilder s)
Java/Leetcode/Leetcode680.java:28
↓ 2 callers
Function
partition
This function takes last element as pivot, places the pivot element at its correct position in sorted array, and places all smaller (smaller than pivo
CPP/sorting/quicksort.cpp:18
↓ 2 callers
Function
per
(list1,list2)
Python/permutation.py:3
↓ 2 callers
Method
pop
Stack/stack_implementation_using_Linked_list.cpp:32
↓ 2 callers
Function
power
CSES/Intro/DigitQueries.cc:4
↓ 2 callers
Method
preOrder
RECURSIVE DFS PREORDER
Trees/delete_nodes_BST.cpp:56
↓ 2 callers
Method
precedence
(char operator)
Java/Stack/InfixToPrefix.java:36
↓ 2 callers
Function
print
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/test.cpp:23
↓ 2 callers
Function
print
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/find_begeningof_circle.cpp:23
↓ 2 callers
Function
print
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/leetcode92.cpp:79
↓ 2 callers
Function
print
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/delete_unsorted.cpp:30
↓ 2 callers
Function
print
CPP/LINKED LIST/SINGLY LINKED LIST/leetcode83.cpp:27
↓ 2 callers
Function
print
CPP/LINKED LIST/SINGLY LINKED LIST/leetcode92.cpp:21
↓ 2 callers
Function
print
CPP/LINKED LIST/SINGLY LINKED LIST/dummy_node.cpp:77
↓ 2 callers
Function
print
CPP/LINKED LIST/SINGLY LINKED LIST/linkedlisttpractice.cpp:102
↓ 2 callers
Function
print
CPP/LINKED LIST/DOUBLY LINKED LIST/doublyreverselinked.cpp:16
↓ 2 callers
Function
print
CPP/LINKED LIST/DOUBLY LINKED LIST/microsoftquestion.cpp:40
↓ 2 callers
Function
printArr
function to print the array elements */
CPP/sorting/heap_sort.cpp:44
↓ 2 callers
Function
printInorder
Given a binary tree, print its Nodes in inorder*/
Hashtable/Clone-a-Binary-Tree-with-Random-Pointers.cpp:27
↓ 2 callers
Function
printPreOrder
Print the tree
Trees/avltree.c:198
↓ 2 callers
Function
print_maze
CPP/Problems/maze_game.c:84
↓ 2 callers
Function
push
CPP/Trees/Expression_tree/Stack.c:24
↓ 2 callers
Function
ref
CPP/pointers_dynamicMemory/double_pointer.cpp:8
↓ 2 callers
Method
remove
(String str , char ch)
Java/String/RemoveCharacter.java:8
↓ 2 callers
Function
reverse
CPP/LINKED LIST/SINGLY LINKED LIST/leetcode25.cpp:39
↓ 2 callers
Function
reverse
reversal using recursion
CPP/LINKED LIST/CIRCULAR LINKED LIST/test2.cpp:45
↓ 2 callers
Function
reverse
String/reverseWordinString.cpp:4
↓ 2 callers
Method
reverse
CPP/Problems/Reverse Integer.cpp:3
↓ 2 callers
Method
reverse
(String s)
Java/Leetcode/Leetcode557.java:24
↓ 2 callers
Method
search
(int[] arr, int target,boolean isStart)
Java/Leetcode/Leetcode34.java:14
↓ 2 callers
Method
serach
(int[] nums, int target, boolean findingFirst)
Leetcode-solutions/Binary-search/FirstLastPos.java:22
↓ 2 callers
Method
setheading
Set the orientation of the turtle to to_angle. Aliases: setheading | seth Argument: to_angle -- a number (integer or float)
Python/Turtle.py:1809
↓ 2 callers
Method
settiltangle
Rotate the turtleshape to point in the specified direction Argument: angle -- number Rotate the turtleshape to point in the directio
Python/Turtle.py:2742
↓ 2 callers
Method
setup
Set the size and position of the main window. Arguments: width: as integer a size in pixels, as float a fraction of the screen.
Python/Turtle.py:3592
↓ 2 callers
Method
shapesize
Set/return turtle's stretchfactors/outline. Set resizemode to "user". Optional arguments: stretch_wid : positive number
Python/Turtle.py:2679
↓ 2 callers
Function
shift_left
(k, nth_shifts)
Python/des.py:97
↓ 2 callers
Function
solveEven
CPP/Dynamic Programming/Circular Palindromes.cpp:97
↓ 2 callers
Function
solveOdd
CPP/Dynamic Programming/Circular Palindromes.cpp:60
↓ 2 callers
Method
stamp
Stamp a copy of the turtleshape onto the canvas and return its id. No argument. Stamp a copy of the turtle shape onto the canvas at
Python/Turtle.py:2933
↓ 2 callers
Function
sum_segtree
CPP/Segment Tree/Sum query.cpp:112
↓ 2 callers
Function
swap
A utility function to swap two elements
CPP/sorting/quicksort.cpp:6
↓ 2 callers
Method
swap
(String mystring, int i, int j)
Java/Recursion/Permutation.java:3
↓ 2 callers
Function
switchpen
()
Python/Turtle.py:3878
↓ 2 callers
Method
title
Set title of turtle-window Argument: titlestring -- a string, to appear in the titlebar of the turtle graphics
Python/Turtle.py:3632
↓ 2 callers
Method
tracer
Turns turtle animation on/off and set delay for update drawings. Optional arguments: n -- nonnegative integer delay -- nonne
Python/Turtle.py:1144
↓ 2 callers
Method
turtles
Return the list of turtles on the screen. Example (for a TurtleScreen instance named screen): >>> screen.turtles() [<turtle.T
Python/Turtle.py:1112
↓ 2 callers
Function
undo
CPP/Problems/maze_game.c:46
↓ 2 callers
Method
undo
undo (repeatedly) the last turtle action. No argument. undo (repeatedly) the last turtle action. Number of available undo ac
Python/Turtle.py:3521
↓ 2 callers
Function
updateBIT
CPP/Fenwick Tree/fenwickTree.cpp:16
↓ 2 callers
Function
xor
(a, b)
Python/des.py:110
↓ 1 callers
Function
Add
Arrays/05_inserting_an_element.cpp:16
↓ 1 callers
Function
Append
Append Function
Arrays/31_Menu_for_Array.c:66
↓ 1 callers
Function
ArePair
Function to check whether two characters are opening and closing of same type.
CPP/String/BalanceBrackets.cpp:6
↓ 1 callers
Function
AreParanthesesBalanced
CPP/String/BalanceBrackets.cpp:13
↓ 1 callers
Method
Arms
(int n)
Java/Armstrong.java:4
↓ 1 callers
Function
Arrange
-ve on left side and +ve on right side
Arrays/31_Menu_for_Array.c:445
↓ 1 callers
Method
Array1
()
Java/Array/MergeTwoSortedArrays.java:55
↓ 1 callers
Method
Array2
()
Java/Array/MergeTwoSortedArrays.java:67
↓ 1 callers
Function
Avg
Average Function
Arrays/31_Menu_for_Array.c:308
← previous
next →
301–400 of 2,714, ranked by callers