Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SR-Sunny-Raj/Hacktoberfest2021-DSA
/ functions
Functions
4,122 in github.com/SR-Sunny-Raj/Hacktoberfest2021-DSA
⨍
Functions
4,122
◇
Types & classes
941
↳
Endpoints
3
↓ 2 callers
Method
dfs
(ArrayList<ArrayList<Integer>> graph,boolean[] visited,int cur, Stack<Integer> stack)
17. Graph/Kosaraju.java:32
↓ 2 callers
Method
dfs
(ArrayList<ArrayList<Integer>> graph, int src, boolean[] visited)
17. Graph/MotherVertexOptimal.java:25
↓ 2 callers
Function
display
06. Sorting/Bucket_sort.cpp:7
↓ 2 callers
Function
display
06. Sorting/bucket_sort.cpp:7
↓ 2 callers
Function
display
10. Linked List/cpp/single_student_linkedlist.c:97
↓ 2 callers
Function
display
10. Linked List/cpp/Circular_Double_List.cpp:89
↓ 2 callers
Function
display
11. Stack/StackusingLinkedList.cpp:36
↓ 2 callers
Method
display
30. CPP Programs/bank_management_system.cpp:102
↓ 2 callers
Method
display
()
06. Sorting/Quick_sort.java:19
↓ 2 callers
Method
display
11. Stack/push_pop.cpp:49
↓ 2 callers
Function
displayfromhead
10. Linked List/DoublyLinkedList/Deletion_inbetween_DoublyLinkedList.cpp:36
↓ 2 callers
Function
dot
30. CPP Programs/Geometry/ConvexHull.cpp:47
↓ 2 callers
Function
empty
Function to check if the queue is empty */
30. CPP Programs/Reversing Queue.cpp:23
↓ 2 callers
Function
encrypt
* Encrypt given text using morse code. * @param text text to be encrypted * @returns new encrypted text */
30. CPP Programs/morse_code.cpp:202
↓ 2 callers
Function
encrypt
* 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 callers
Function
encrypt
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 callers
Function
encrypt
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 callers
Function
extended_euclid
>>> extended_euclid(10, 6) (-1, 2) >>> extended_euclid(7, 5) (-2, 3)
25. Blockchain/chinese_remainder_theorem.py:15
↓ 2 callers
Function
fast_io
01. Mathematics/24_ModularEquation.cpp:18
↓ 2 callers
Function
findDist
14. Tree/Shortest_distance_between_2nodes.cpp:44
↓ 2 callers
Method
findDuplicate
(int[] nums)
04. Arrays/duplicateInArrayOfn+1integers.java:6
↓ 2 callers
Function
findParent
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 callers
Function
findlevel
15. Binary Search Tree/distance_between_2nodes.cpp:17
↓ 2 callers
Function
findmin
15. Binary Search Tree/BST_Traversals_MaxMin_Nodes.cpp:128
↓ 2 callers
Function
firstPetrolPump
Function to return whether the tur can be completed or not.
13. Dequeue/First_circula_tour.cpp:5
↓ 2 callers
Method
flatten
(self, root)
10. Linked List/flatenning_a_linked_list.py:67
↓ 2 callers
Function
flip
Reverses arr[0..i] */
06. Sorting/pancake_sort.cpp:7
↓ 2 callers
Function
gcd
01. Mathematics/euclid extended.cpp:72
↓ 2 callers
Method
getFirst
()
10. Linked List/java/middle of linked list.java:53
↓ 2 callers
Function
getMin
11. Stack/Min_Stack.cpp:28
↓ 2 callers
Function
getNode
21. Trie/Word_break.cpp:12
↓ 2 callers
Function
getNode
Returns new trie node (initialized to NULLs)
21. Trie/InsertSearch.cpp:19
↓ 2 callers
Method
getNodeAt
(int idx)
10. Linked List/java/middle of linked list.java:158
↓ 2 callers
Function
get_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 callers
Function
get_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 callers
Function
get_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 callers
Function
good
01. Mathematics/splittingarray.cpp:8
↓ 2 callers
Function
good
01. Mathematics/ropes.cpp:9
↓ 2 callers
Function
good
01. Mathematics/packingrectangle.cpp:7
↓ 2 callers
Function
greatest_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 callers
Method
greedyColoring
Assigns colors (starting from 0) to all vertices and prints the assignment of colors
18. Greedy/graph colouring using greedy algo.cpp:30
↓ 2 callers
Method
hash
(self, block)
25. Blockchain/blockchain_creation.py:62
↓ 2 callers
Function
heapify
06. Sorting/HeapSort.cpp:4
↓ 2 callers
Function
heapify
(arr, n, i)
06. Sorting/Heap-Sort.py:1
↓ 2 callers
Function
heapify
06. Sorting/heapsort.cpp:4
↓ 2 callers
Function
heapify
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 callers
Function
inOrder
Helper function to print Inorder traversal.*/
14. Tree/convert_binary_tree_to_mirror.cpp:72
↓ 2 callers
Function
inorder
15. Binary Search Tree/trim_a_BST.cpp:49
↓ 2 callers
Function
inorder
15. Binary Search Tree/delete_in_BST.cpp:59
↓ 2 callers
Function
insert
Inserts pre_xor to trie with given root
21. Trie/Maximum_Subarray_XOR.cpp:44
↓ 2 callers
Method
insert
14. Tree/BinaryTreeDiagram.cpp:36
↓ 2 callers
Function
insertAtbegin
10. Linked List/cpp/Circular_Double_List.cpp:41
↓ 2 callers
Function
insertLetter
(letter,pos)
33. Python Programs/tic_tac_toe.py:3
↓ 2 callers
Function
insertNode
insert node at a specific position by the user
10. Linked List/cpp/Insert_node_at_iTH_position.cpp:68
↓ 2 callers
Method
insertPosition
(self, position, letter = 'O')
37. Projects/tic_tac_toe_AI.py:84
↓ 2 callers
Function
insert_end
10. Linked List/LinkedListMenu.cpp:31
↓ 2 callers
Function
insert_q
17. Graph/Breadth First Search.c:88
↓ 2 callers
Function
insertq
17. Graph/C/BFS.c:132
↓ 2 callers
Function
invert_modulo
>>> invert_modulo(2, 5) 3 >>> invert_modulo(8,7) 1
25. Blockchain/chinese_remainder_theorem.py:54
↓ 2 callers
Function
isBoardFull
(board)
33. Python Programs/tic_tac_toe.py:22
↓ 2 callers
Method
isEmpty
(self)
12. Queue/QueueLinkedList.py:39
↓ 2 callers
Method
isEmpty
(self)
12. Queue/QueueWithCapacity.py:20
↓ 2 callers
Function
isOperand
11. Stack/postfix_to_infix.cpp:23
↓ 2 callers
Method
isPalindrome
(String s,int start,int end)
27. LeetCode Problems/palindrome_partition_ii.java:13
↓ 2 callers
Method
isValid
(String s)
27. LeetCode Problems/DecodeWays.java:41
↓ 2 callers
Function
is_prime
Primality Test
24. Cryptography/RSA_Enc_Dec.py:21
↓ 2 callers
Method
last
* @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 callers
Function
length
10. Linked List/cpp/Linked List Complete.cpp:160
↓ 2 callers
Function
line
(st)
33. Python Programs/to check email.py:4
↓ 2 callers
Function
linkedlisttraversal
10. Linked List/llinsertion_atfirst.cpp:8
↓ 2 callers
Function
linkedlisttraversal
10. Linked List/llinsertion_afternode.cpp:8
↓ 2 callers
Function
linkedlisttraversal
10. Linked List/llinsertion.cpp:8
↓ 2 callers
Function
linkedlisttraversal
10. Linked List/llinsertion_atend.cpp:8
↓ 2 callers
Function
linkedlisttraversal
10. Linked List/deletion_atfirst.cpp:8
↓ 2 callers
Function
linkedlisttraversal
10. Linked List/deleteatend.cpp:8
↓ 2 callers
Method
list
* List constructor. Initializes the first link. */
10. Linked List/Reverse_Linked_List.cpp:50
↓ 2 callers
Function
mah
11. Stack/max-area-rectangle-binary-matrix.cpp:8
↓ 2 callers
Method
max_depth
14. Tree/BinaryTreeDiagram.cpp:21
↓ 2 callers
Function
median
Function to get median of a sorted array */
30. CPP Programs/Median of two sorted array.cpp:46
↓ 2 callers
Function
merge
04. Arrays/Merge Sorted Array.cpp:35
↓ 2 callers
Function
merge
10. Linked List/c lang/Linked List.c:197
↓ 2 callers
Function
newNode
Utility function to create a Trie node
21. Trie/Maximum_Subarray_XOR.cpp:35
↓ 2 callers
Function
peek
06. Sorting/Stack_using_array.cpp:45
↓ 2 callers
Method
peek
()
16. Heap/medianPriorityQueue.java:37
↓ 2 callers
Function
plotImages
(images_arr)
37. Projects/Sign-Language-Recognition.py:175
↓ 2 callers
Function
pop
06. Sorting/Stack_using_array.cpp:33
↓ 2 callers
Function
pop
12. Queue/Queueusing2Stacks.cpp:61
↓ 2 callers
Function
pop
11. Stack/Min_Stack.cpp:19
↓ 2 callers
Method
pop
11. Stack/Min Stack/Solution.cpp:18
↓ 2 callers
Function
pop2
Removing the elements from the Stack2
12. Queue/QueueUsingStacks.cpp:53
↓ 2 callers
Function
power
30. CPP Programs/Calculator.c:160
↓ 2 callers
Function
prac
11. Stack/Infix_to_Postfix_and_Evaluation.c:25
↓ 2 callers
Function
prec
11. Stack/InfixtoPostfix.c:29
↓ 2 callers
Method
prepend
insertion at head
10. Linked List/LL.cpp:36
↓ 2 callers
Function
print
10. Linked List/cpp/sort_LinkedList_of_0_1_2's.cpp:58
↓ 2 callers
Function
print
printing the linked list
10. Linked List/cpp/Insert_node_at_iTH_position.cpp:57
↓ 2 callers
Function
print
FUNCTION TO PRINT
10. Linked List/cpp/INSERTION AT PARTICULAR POSITION.cpp:46
↓ 2 callers
Method
print
Function to display the linkedlist
10. Linked List/Linkedlist_Reversal.cpp:26
↓ 2 callers
Method
print
Function to print linked list */
10. Linked List/cpp/reverse-a-linked-list.cpp:43
↓ 2 callers
Function
printArr
Utility function to print an array
06. Sorting/kasai_algorithm.cpp:151
← previous
next →
401–500 of 4,122, ranked by callers