MCPcopy Create free account

hub / github.com/codemistic/Data-Structures-and-Algorithms / functions

Functions2,714 in github.com/codemistic/Data-Structures-and-Algorithms

↓ 2 callersFunctionget_offset
(index)
Python/dijkstra.py:18
↓ 2 callersFunctionget_opposite_index
(index)
Python/dijkstra.py:27
↓ 2 callersMethodgetdata
CPP/DS C++/Binary & Selection sort search on given array list.cpp:12
↓ 2 callersFunctionhasPathSum
Trees/pathSum.cpp:8
↓ 2 callersFunctionheapify
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 callersFunctionheapify
(customList,n,i)
Python/all sorting methods.py:149
↓ 2 callersFunctionheapify
(arr, N, i)
Python/Sorting-Techniques/heapSort.py:1
↓ 2 callersFunctionhex2bin
(s)
Python/des.py:5
↓ 2 callersFunctioninitial
CPP/array-2d/max_array.cpp:37
↓ 2 callersFunctioninsert
CPP/arrays/DuplicateZeroes.cpp:4
↓ 2 callersMethodinsert
(self, word)
Python/Trie.py:12
↓ 2 callersMethodinsert
(Node node)
Java/Leetcode/LeetcodeLruCache.java:44
↓ 2 callersFunctioninsertathead
CPP/LINKED LIST/SINGLY LINKED LIST/linkedlistF.cpp:34
↓ 2 callersFunctioninsertathead
CPP/LINKED LIST/DOUBLY LINKED LIST/doublyreverselinked.cpp:33
↓ 2 callersFunctioninsertathead
CPP/LINKED LIST/DOUBLY LINKED LIST/doublylinkedlistpractice.cpp:16
↓ 2 callersFunctioninsertathead
CPP/LINKED LIST/DOUBLY LINKED LIST/doublylinkedlist.cpp:44
↓ 2 callersFunctioninsertattail
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/floydscycle.cpp:37
↓ 2 callersFunctioninsertattail
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/test.cpp:38
↓ 2 callersFunctioninsertattail
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/floydscycle_practice.cpp:62
↓ 2 callersFunctioninsertattail
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/detectloop.cpp:37
↓ 2 callersFunctioninsertattail
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/find_begeningof_circle.cpp:38
↓ 2 callersFunctioninsertattail
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/merge_two_linked.cpp:17
↓ 2 callersFunctioninsertattail
CPP/LINKED LIST/SINGLY LINKED LIST/linkedlistF.cpp:39
↓ 2 callersFunctioninsertattail
CPP/LINKED LIST/DOUBLY LINKED LIST/doublyreverselinked.cpp:26
↓ 2 callersFunctioninsertattail
CPP/LINKED LIST/DOUBLY LINKED LIST/doublylinkedlistpractice.cpp:25
↓ 2 callersFunctioninsertion
Arrays/32_Operations_on_arrays.c:59
↓ 2 callersMethodisEmpty
(self,stacknum)
Python/DIVIDE THE LIST INTO THREE STACKS.py:16
↓ 2 callersMethodisGreaterEqual
(int num, int target)
Leetcode-solutions/Binary-search/SearchInsertPosition.java:42
↓ 2 callersFunctionisPalin
CPP/Dynamic Programming/Palindrome Partitioning II.cpp:1
↓ 2 callersFunctionisSame
CPP/String/angramSearch.cpp:6
↓ 2 callersFunctionkadanes_algorithm
Standard Kadane's Algorithm for maximum sum subarray.
circular_kadne.py:1
↓ 2 callersFunctionks
Dynamic Programming/0-1Knapsack.cpp:10
↓ 2 callersMethodleft
Turn turtle left by angle units. Aliases: left | lt Argument: angle -- a number (integer or float) Turn turtle left
Python/Turtle.py:1579
↓ 2 callersFunctionlength
CPP/LINKED LIST/SINGLY LINKED LIST/dummy_node.cpp:86
↓ 2 callersFunctionmanacher
CPP/Dynamic Programming/Circular Palindromes.cpp:33
↓ 2 callersFunctionmax_min_sliding_window
CPP/LINKED LIST/SINGLY LINKED LIST/Maths For DSA/Sliding Window Problem/maxmin_sum.cpp:7
↓ 2 callersFunctionmax_segtree
CPP/Segment Tree/Maximum element query.cpp:112
↓ 2 callersFunctionmove
Move snake forward one segment.
Python/snake.py:30
↓ 2 callersFunctionnewNode
Create a node
Trees/avltree.c:29
↓ 2 callersFunctionodd_even
(param)
Python/odd-even.py:9
↓ 2 callersMethodonclick
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 callersMethodpalin
(StringBuilder s)
Java/Leetcode/Leetcode680.java:28
↓ 2 callersFunctionpartition
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 callersFunctionper
(list1,list2)
Python/permutation.py:3
↓ 2 callersMethodpop
Stack/stack_implementation_using_Linked_list.cpp:32
↓ 2 callersFunctionpower
CSES/Intro/DigitQueries.cc:4
↓ 2 callersMethodpreOrder
RECURSIVE DFS PREORDER
Trees/delete_nodes_BST.cpp:56
↓ 2 callersMethodprecedence
(char operator)
Java/Stack/InfixToPrefix.java:36
↓ 2 callersFunctionprint
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/test.cpp:23
↓ 2 callersFunctionprint
CPP/LINKED LIST/ALGORITHMIC PROBLEMS RELATED TO LINKEDLIST/find_begeningof_circle.cpp:23
↓ 2 callersFunctionprint
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/leetcode92.cpp:79
↓ 2 callersFunctionprint
CPP/LINKED LIST/SOME LEET CODE QUESTIONS/delete_unsorted.cpp:30
↓ 2 callersFunctionprint
CPP/LINKED LIST/SINGLY LINKED LIST/leetcode83.cpp:27
↓ 2 callersFunctionprint
CPP/LINKED LIST/SINGLY LINKED LIST/leetcode92.cpp:21
↓ 2 callersFunctionprint
CPP/LINKED LIST/SINGLY LINKED LIST/dummy_node.cpp:77
↓ 2 callersFunctionprint
CPP/LINKED LIST/SINGLY LINKED LIST/linkedlisttpractice.cpp:102
↓ 2 callersFunctionprint
CPP/LINKED LIST/DOUBLY LINKED LIST/doublyreverselinked.cpp:16
↓ 2 callersFunctionprint
CPP/LINKED LIST/DOUBLY LINKED LIST/microsoftquestion.cpp:40
↓ 2 callersFunctionprintArr
function to print the array elements */
CPP/sorting/heap_sort.cpp:44
↓ 2 callersFunctionprintInorder
Given a binary tree, print its Nodes in inorder*/
Hashtable/Clone-a-Binary-Tree-with-Random-Pointers.cpp:27
↓ 2 callersFunctionprintPreOrder
Print the tree
Trees/avltree.c:198
↓ 2 callersFunctionprint_maze
CPP/Problems/maze_game.c:84
↓ 2 callersFunctionpush
CPP/Trees/Expression_tree/Stack.c:24
↓ 2 callersFunctionref
CPP/pointers_dynamicMemory/double_pointer.cpp:8
↓ 2 callersMethodremove
(String str , char ch)
Java/String/RemoveCharacter.java:8
↓ 2 callersFunctionreverse
CPP/LINKED LIST/SINGLY LINKED LIST/leetcode25.cpp:39
↓ 2 callersFunctionreverse
reversal using recursion
CPP/LINKED LIST/CIRCULAR LINKED LIST/test2.cpp:45
↓ 2 callersFunctionreverse
String/reverseWordinString.cpp:4
↓ 2 callersMethodreverse
CPP/Problems/Reverse Integer.cpp:3
↓ 2 callersMethodreverse
(String s)
Java/Leetcode/Leetcode557.java:24
↓ 2 callersMethodsearch
(int[] arr, int target,boolean isStart)
Java/Leetcode/Leetcode34.java:14
↓ 2 callersMethodserach
(int[] nums, int target, boolean findingFirst)
Leetcode-solutions/Binary-search/FirstLastPos.java:22
↓ 2 callersMethodsetheading
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 callersMethodsettiltangle
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 callersMethodsetup
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 callersMethodshapesize
Set/return turtle's stretchfactors/outline. Set resizemode to "user". Optional arguments: stretch_wid : positive number
Python/Turtle.py:2679
↓ 2 callersFunctionshift_left
(k, nth_shifts)
Python/des.py:97
↓ 2 callersFunctionsolveEven
CPP/Dynamic Programming/Circular Palindromes.cpp:97
↓ 2 callersFunctionsolveOdd
CPP/Dynamic Programming/Circular Palindromes.cpp:60
↓ 2 callersMethodstamp
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 callersFunctionsum_segtree
CPP/Segment Tree/Sum query.cpp:112
↓ 2 callersFunctionswap
A utility function to swap two elements
CPP/sorting/quicksort.cpp:6
↓ 2 callersMethodswap
(String mystring, int i, int j)
Java/Recursion/Permutation.java:3
↓ 2 callersFunctionswitchpen
()
Python/Turtle.py:3878
↓ 2 callersMethodtitle
Set title of turtle-window Argument: titlestring -- a string, to appear in the titlebar of the turtle graphics
Python/Turtle.py:3632
↓ 2 callersMethodtracer
Turns turtle animation on/off and set delay for update drawings. Optional arguments: n -- nonnegative integer delay -- nonne
Python/Turtle.py:1144
↓ 2 callersMethodturtles
Return the list of turtles on the screen. Example (for a TurtleScreen instance named screen): >>> screen.turtles() [<turtle.T
Python/Turtle.py:1112
↓ 2 callersFunctionundo
CPP/Problems/maze_game.c:46
↓ 2 callersMethodundo
undo (repeatedly) the last turtle action. No argument. undo (repeatedly) the last turtle action. Number of available undo ac
Python/Turtle.py:3521
↓ 2 callersFunctionupdateBIT
CPP/Fenwick Tree/fenwickTree.cpp:16
↓ 2 callersFunctionxor
(a, b)
Python/des.py:110
↓ 1 callersFunctionAdd
Arrays/05_inserting_an_element.cpp:16
↓ 1 callersFunctionAppend
Append Function
Arrays/31_Menu_for_Array.c:66
↓ 1 callersFunctionArePair
Function to check whether two characters are opening and closing of same type.
CPP/String/BalanceBrackets.cpp:6
↓ 1 callersFunctionAreParanthesesBalanced
CPP/String/BalanceBrackets.cpp:13
↓ 1 callersMethodArms
(int n)
Java/Armstrong.java:4
↓ 1 callersFunctionArrange
-ve on left side and +ve on right side
Arrays/31_Menu_for_Array.c:445
↓ 1 callersMethodArray1
()
Java/Array/MergeTwoSortedArrays.java:55
↓ 1 callersMethodArray2
()
Java/Array/MergeTwoSortedArrays.java:67
↓ 1 callersFunctionAvg
Average Function
Arrays/31_Menu_for_Array.c:308
← previousnext →301–400 of 2,714, ranked by callers