MCPcopy Create free account

hub / github.com/SR-Sunny-Raj/Hacktoberfest2021-DSA / functions

Functions4,122 in github.com/SR-Sunny-Raj/Hacktoberfest2021-DSA

↓ 2 callersMethoddfs
(ArrayList<ArrayList<Integer>> graph,boolean[] visited,int cur, Stack<Integer> stack)
17. Graph/Kosaraju.java:32
↓ 2 callersMethoddfs
(ArrayList<ArrayList<Integer>> graph, int src, boolean[] visited)
17. Graph/MotherVertexOptimal.java:25
↓ 2 callersFunctiondisplay
06. Sorting/Bucket_sort.cpp:7
↓ 2 callersFunctiondisplay
06. Sorting/bucket_sort.cpp:7
↓ 2 callersFunctiondisplay
10. Linked List/cpp/single_student_linkedlist.c:97
↓ 2 callersFunctiondisplay
10. Linked List/cpp/Circular_Double_List.cpp:89
↓ 2 callersFunctiondisplay
11. Stack/StackusingLinkedList.cpp:36
↓ 2 callersMethoddisplay
30. CPP Programs/bank_management_system.cpp:102
↓ 2 callersMethoddisplay
()
06. Sorting/Quick_sort.java:19
↓ 2 callersMethoddisplay
11. Stack/push_pop.cpp:49
↓ 2 callersFunctiondisplayfromhead
10. Linked List/DoublyLinkedList/Deletion_inbetween_DoublyLinkedList.cpp:36
↓ 2 callersFunctiondot
30. CPP Programs/Geometry/ConvexHull.cpp:47
↓ 2 callersFunctionempty
Function to check if the queue is empty */
30. CPP Programs/Reversing Queue.cpp:23
↓ 2 callersFunctionencrypt
* Encrypt given text using morse code. * @param text text to be encrypted * @returns new encrypted text */
30. CPP Programs/morse_code.cpp:202
↓ 2 callersFunctionencrypt
* Encrypt given text using XOR cipher. * @param text text to be encrypted * @param key to be used for encyption * @return n
30. CPP Programs/xor_cipher.cpp:47
↓ 2 callersFunctionencrypt
Unnamed namespace * Encrypt given text using vigenere cipher. * @param text text to be encrypted * @param key to be used for encrypt
30. CPP Programs/vigenere_cipher.cpp:73
↓ 2 callersFunctionencrypt
Unnamed namespace * Encrypt given text using caesar cipher. * @param text text to be encrypted * @param shift number of shifts to be
30. CPP Programs/caesar_cipher.cpp:65
↓ 2 callersFunctionextended_euclid
>>> extended_euclid(10, 6) (-1, 2) >>> extended_euclid(7, 5) (-2, 3)
25. Blockchain/chinese_remainder_theorem.py:15
↓ 2 callersFunctionfast_io
01. Mathematics/24_ModularEquation.cpp:18
↓ 2 callersFunctionfindDist
14. Tree/Shortest_distance_between_2nodes.cpp:44
↓ 2 callersMethodfindDuplicate
(int[] nums)
04. Arrays/duplicateInArrayOfn+1integers.java:6
↓ 2 callersFunctionfindParent
APPROACH: We try to make a connected series of numbers that are consecutive. For eg, array is 1,3,100,5,6,4. first add 1, with its par
23. Disjoint Set/LongestConsecutiveSequence.cpp:30
↓ 2 callersFunctionfindlevel
15. Binary Search Tree/distance_between_2nodes.cpp:17
↓ 2 callersFunctionfindmin
15. Binary Search Tree/BST_Traversals_MaxMin_Nodes.cpp:128
↓ 2 callersFunctionfirstPetrolPump
Function to return whether the tur can be completed or not.
13. Dequeue/First_circula_tour.cpp:5
↓ 2 callersMethodflatten
(self, root)
10. Linked List/flatenning_a_linked_list.py:67
↓ 2 callersFunctionflip
Reverses arr[0..i] */
06. Sorting/pancake_sort.cpp:7
↓ 2 callersFunctiongcd
01. Mathematics/euclid extended.cpp:72
↓ 2 callersMethodgetFirst
()
10. Linked List/java/middle of linked list.java:53
↓ 2 callersFunctiongetMin
11. Stack/Min_Stack.cpp:28
↓ 2 callersFunctiongetNode
21. Trie/Word_break.cpp:12
↓ 2 callersFunctiongetNode
Returns new trie node (initialized to NULLs)
21. Trie/InsertSearch.cpp:19
↓ 2 callersMethodgetNodeAt
(int idx)
10. Linked List/java/middle of linked list.java:158
↓ 2 callersFunctionget_char
* This function finds character for given value (i.e.A-Z) * @param x value for which we want character * @return correspon
30. CPP Programs/vigenere_cipher.cpp:51
↓ 2 callersFunctionget_char
* This function finds character for given value (i.e.A-Z) * @param x value for which we want character * @returns correspo
30. CPP Programs/caesar_cipher.cpp:43
↓ 2 callersFunctionget_value
* This function finds value for given character (i.e.0-25) * @param c character for which we want value * @returns returns c
30. CPP Programs/caesar_cipher.cpp:53
↓ 2 callersFunctiongood
01. Mathematics/splittingarray.cpp:8
↓ 2 callersFunctiongood
01. Mathematics/ropes.cpp:9
↓ 2 callersFunctiongood
01. Mathematics/packingrectangle.cpp:7
↓ 2 callersFunctiongreatest_common_divisor
>>> greatest_common_divisor(7,5) 1 Note : In number theory, two integers a and b are said to be relatively prime, mutually pr
25. Blockchain/diophantine_equation.py:75
↓ 2 callersMethodgreedyColoring
Assigns colors (starting from 0) to all vertices and prints the assignment of colors
18. Greedy/graph colouring using greedy algo.cpp:30
↓ 2 callersMethodhash
(self, block)
25. Blockchain/blockchain_creation.py:62
↓ 2 callersFunctionheapify
06. Sorting/HeapSort.cpp:4
↓ 2 callersFunctionheapify
(arr, n, i)
06. Sorting/Heap-Sort.py:1
↓ 2 callersFunctionheapify
06. Sorting/heapsort.cpp:4
↓ 2 callersFunctionheapify
To heapify a subtree rooted with node i which is an index in arr[]. n is size of heap
06. Sorting/heap sort.cpp:8
↓ 2 callersFunctioninOrder
Helper function to print Inorder traversal.*/
14. Tree/convert_binary_tree_to_mirror.cpp:72
↓ 2 callersFunctioninorder
15. Binary Search Tree/trim_a_BST.cpp:49
↓ 2 callersFunctioninorder
15. Binary Search Tree/delete_in_BST.cpp:59
↓ 2 callersFunctioninsert
Inserts pre_xor to trie with given root
21. Trie/Maximum_Subarray_XOR.cpp:44
↓ 2 callersMethodinsert
14. Tree/BinaryTreeDiagram.cpp:36
↓ 2 callersFunctioninsertAtbegin
10. Linked List/cpp/Circular_Double_List.cpp:41
↓ 2 callersFunctioninsertLetter
(letter,pos)
33. Python Programs/tic_tac_toe.py:3
↓ 2 callersFunctioninsertNode
insert node at a specific position by the user
10. Linked List/cpp/Insert_node_at_iTH_position.cpp:68
↓ 2 callersMethodinsertPosition
(self, position, letter = 'O')
37. Projects/tic_tac_toe_AI.py:84
↓ 2 callersFunctioninsert_end
10. Linked List/LinkedListMenu.cpp:31
↓ 2 callersFunctioninsert_q
17. Graph/Breadth First Search.c:88
↓ 2 callersFunctioninsertq
17. Graph/C/BFS.c:132
↓ 2 callersFunctioninvert_modulo
>>> invert_modulo(2, 5) 3 >>> invert_modulo(8,7) 1
25. Blockchain/chinese_remainder_theorem.py:54
↓ 2 callersFunctionisBoardFull
(board)
33. Python Programs/tic_tac_toe.py:22
↓ 2 callersMethodisEmpty
(self)
12. Queue/QueueLinkedList.py:39
↓ 2 callersMethodisEmpty
(self)
12. Queue/QueueWithCapacity.py:20
↓ 2 callersFunctionisOperand
11. Stack/postfix_to_infix.cpp:23
↓ 2 callersMethodisPalindrome
(String s,int start,int end)
27. LeetCode Problems/palindrome_partition_ii.java:13
↓ 2 callersMethodisValid
(String s)
27. LeetCode Problems/DecodeWays.java:41
↓ 2 callersFunctionis_prime
Primality Test
24. Cryptography/RSA_Enc_Dec.py:21
↓ 2 callersMethodlast
* @brief Utility function to find the last element of the list * @returns the last element of the list */
10. Linked List/Reverse_Linked_List.cpp:127
↓ 2 callersFunctionlength
10. Linked List/cpp/Linked List Complete.cpp:160
↓ 2 callersFunctionline
(st)
33. Python Programs/to check email.py:4
↓ 2 callersFunctionlinkedlisttraversal
10. Linked List/llinsertion_atfirst.cpp:8
↓ 2 callersFunctionlinkedlisttraversal
10. Linked List/llinsertion_afternode.cpp:8
↓ 2 callersFunctionlinkedlisttraversal
10. Linked List/llinsertion.cpp:8
↓ 2 callersFunctionlinkedlisttraversal
10. Linked List/llinsertion_atend.cpp:8
↓ 2 callersFunctionlinkedlisttraversal
10. Linked List/deletion_atfirst.cpp:8
↓ 2 callersFunctionlinkedlisttraversal
10. Linked List/deleteatend.cpp:8
↓ 2 callersMethodlist
* List constructor. Initializes the first link. */
10. Linked List/Reverse_Linked_List.cpp:50
↓ 2 callersFunctionmah
11. Stack/max-area-rectangle-binary-matrix.cpp:8
↓ 2 callersMethodmax_depth
14. Tree/BinaryTreeDiagram.cpp:21
↓ 2 callersFunctionmedian
Function to get median of a sorted array */
30. CPP Programs/Median of two sorted array.cpp:46
↓ 2 callersFunctionmerge
04. Arrays/Merge Sorted Array.cpp:35
↓ 2 callersFunctionmerge
10. Linked List/c lang/Linked List.c:197
↓ 2 callersFunctionnewNode
Utility function to create a Trie node
21. Trie/Maximum_Subarray_XOR.cpp:35
↓ 2 callersFunctionpeek
06. Sorting/Stack_using_array.cpp:45
↓ 2 callersMethodpeek
()
16. Heap/medianPriorityQueue.java:37
↓ 2 callersFunctionplotImages
(images_arr)
37. Projects/Sign-Language-Recognition.py:175
↓ 2 callersFunctionpop
06. Sorting/Stack_using_array.cpp:33
↓ 2 callersFunctionpop
12. Queue/Queueusing2Stacks.cpp:61
↓ 2 callersFunctionpop
11. Stack/Min_Stack.cpp:19
↓ 2 callersMethodpop
11. Stack/Min Stack/Solution.cpp:18
↓ 2 callersFunctionpop2
Removing the elements from the Stack2
12. Queue/QueueUsingStacks.cpp:53
↓ 2 callersFunctionpower
30. CPP Programs/Calculator.c:160
↓ 2 callersFunctionprac
11. Stack/Infix_to_Postfix_and_Evaluation.c:25
↓ 2 callersFunctionprec
11. Stack/InfixtoPostfix.c:29
↓ 2 callersMethodprepend
insertion at head
10. Linked List/LL.cpp:36
↓ 2 callersFunctionprint
10. Linked List/cpp/sort_LinkedList_of_0_1_2's.cpp:58
↓ 2 callersFunctionprint
printing the linked list
10. Linked List/cpp/Insert_node_at_iTH_position.cpp:57
↓ 2 callersFunctionprint
FUNCTION TO PRINT
10. Linked List/cpp/INSERTION AT PARTICULAR POSITION.cpp:46
↓ 2 callersMethodprint
Function to display the linkedlist
10. Linked List/Linkedlist_Reversal.cpp:26
↓ 2 callersMethodprint
Function to print linked list */
10. Linked List/cpp/reverse-a-linked-list.cpp:43
↓ 2 callersFunctionprintArr
Utility function to print an array
06. Sorting/kasai_algorithm.cpp:151
← previousnext →401–500 of 4,122, ranked by callers