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
Function
printArray
Utility function to print the Array
06. Sorting/Timsort.cpp:120
↓ 2 callers
Function
printArray
06. Sorting/shell-sort.cpp:34
↓ 2 callers
Function
printArray
UTILITY FUNCTIONS Function to print an array
06. Sorting/Merge_sort.cpp:70
↓ 2 callers
Function
printArray
04. Arrays/ReverseArray.c:14
↓ 2 callers
Method
printArray
(int a[], int n)
06. Sorting/merge_sort.java:65
↓ 2 callers
Function
printList
(arr)
06. Sorting/mergeSort.py:46
↓ 2 callers
Function
printList
10. Linked List/revlinkedListusingrec.c:52
↓ 2 callers
Function
printList
Function to print linked list */
10. Linked List/revlinkedListusingiter.c:44
↓ 2 callers
Method
printList
()
10. Linked List/java/LinkedListTask2.java:25
↓ 2 callers
Method
printList
()
10. Linked List/java/Segregate even and odd nodes in a Linked List.java:82
↓ 2 callers
Method
printList
()
10. Linked List/java/pattern.java:38
↓ 2 callers
Method
printarray
(int a[])
06. Sorting/Insertion_sort.java:22
↓ 2 callers
Function
push
12. Queue/Queueusing2Stacks.cpp:46
↓ 2 callers
Method
push
(int d)
10. Linked List/java/Insert node at the begening.java:21
↓ 2 callers
Function
push1
inserting the elements in stack1.
12. Queue/QueueUsingStacks.cpp:9
↓ 2 callers
Function
query
29. Codeforces Problems/D_Hemose_in_ICPC_.cpp:90
↓ 2 callers
Function
read_matrix
30. CPP Programs/matrixmul.c:3
↓ 2 callers
Method
removeLast
()
10. Linked List/java/middle of linked list.java:122
↓ 2 callers
Method
reverse
10. Linked List/cpp/linkedlist.cpp:58
↓ 2 callers
Function
reverseLL
Function to check if the linked list is palindrome or not
10. Linked List/cpp/Checking if a linked list is Palindrome.cpp:15
↓ 2 callers
Function
rtrim
30. CPP Programs/Minimum Distances/min_distances.cpp:78
↓ 2 callers
Function
search
05. Searching/LinkedListEleSearch.cpp:18
↓ 2 callers
Function
search
Returns true if key presents in trie, else false
21. Trie/InsertSearch.cpp:53
↓ 2 callers
Function
search
04. Arrays/Menu-driven.cpp:27
↓ 2 callers
Function
search
10. Linked List/SinglyLL.cpp:15
↓ 2 callers
Function
searchInBST
15. Binary Search Tree/search_in_BST.cpp:22
↓ 2 callers
Function
searchllr
10. Linked List/cpp/Searching in linked list.cpp:45
↓ 2 callers
Function
selectRandom
(li)
33. Python Programs/tic_tac_toe.py:90
↓ 2 callers
Method
show
30. CPP Programs/bank_management_system.cpp:139
↓ 2 callers
Method
show
print the linked list
10. Linked List/LL.cpp:45
↓ 2 callers
Method
show
10. Linked List/DoublyLinkedList/Insertion_in_Doublylinkedlist.cpp:46
↓ 2 callers
Method
size
(Node node)
14. Tree/Class7.java:49
↓ 2 callers
Method
size
return size of the heap
04. Arrays/Min Heap.cpp:78
↓ 2 callers
Function
sor
06. Sorting/Maximum_subarray_sum.cpp:11
↓ 2 callers
Function
sort
06. Sorting/DYNAMIC_ACTIVITY_SELECTOR.cpp:13
↓ 2 callers
Method
stockBuySell
Function to find the days of buying and selling stock for max profit.
04. Arrays/stock buy sell.cpp:13
↓ 2 callers
Function
storeInorder
15. Binary Search Tree/merging-two-bst.cpp:103
↓ 2 callers
Function
subsetSum
20. Dynamic Programming/minimumSubsetSumDifference.cpp:27
↓ 2 callers
Method
sum
to find the sum of first x elements [1,x]
26. Fenwick Tree/fenwick.cpp:19
↓ 2 callers
Function
swap
06. Sorting/QuickSort_Id.c:4
↓ 2 callers
Function
swap
06. Sorting/QuickSort.cpp:2
↓ 2 callers
Method
swap
(int l,int r)
06. Sorting/Quick_sort.java:52
↓ 2 callers
Method
swap
(LinkedList<Integer> first, LinkedList<Integer> second)
11. Stack/StackUsingQueue.java:15
↓ 2 callers
Method
swap2
(LinkedList<Integer> first, LinkedList<Integer> second)
11. Stack/StackUsingQueue.java:20
↓ 2 callers
Method
top
* @brief Utility function to find the top element of the list * @returns the top element of the list */
10. Linked List/Reverse_Linked_List.cpp:114
↓ 2 callers
Function
transpose
30. CPP Programs/matrixmul.c:46
↓ 2 callers
Function
update
18. Greedy/Codeforces_Problem_1579E2-38.cpp:37
↓ 1 callers
Function
AES_Decryption
(ciphertext)
24. Cryptography/AES_Enc_Dec.py:39
↓ 1 callers
Function
AES_Encryption
(cleartext)
24. Cryptography/AES_Enc_Dec.py:27
↓ 1 callers
Function
ActivitySelection
18. Greedy/Activity_Selection_Greedy_algo.c:10
↓ 1 callers
Function
AlienDictionary
17. Graph/Alien Dictionary.cpp:4
↓ 1 callers
Function
AllpairConsecutive
check if elements are consecutive pair in stack
11. Stack/AllpairConsecutive.cpp:5
↓ 1 callers
Function
Anagrams
08. Hashing/Print Anagrams Together.cpp:6
↓ 1 callers
Method
Ans
(int n)
31. Pattern Problems/Java Patterns/Qns5.java:11
↓ 1 callers
Method
Ans
(int n)
31. Pattern Problems/Java Patterns/Qns4.java:10
↓ 1 callers
Method
Answer
(int n)
31. Pattern Problems/Java Patterns/Qns7.java:11
↓ 1 callers
Method
Answer
(int n)
31. Pattern Problems/Java Patterns/Qns6.java:11
↓ 1 callers
Method
Answer
(int n)
31. Pattern Problems/Java Patterns/pattern_3.java:12
↓ 1 callers
Method
Answer
(int n)
31. Pattern Problems/Java Patterns/Qns9.java:11
↓ 1 callers
Method
Answer
(int n)
31. Pattern Problems/Java Patterns/Qns12.java:10
↓ 1 callers
Method
Answer
(int n)
31. Pattern Problems/Java Patterns/Qns11.java:11
↓ 1 callers
Method
Answer
(int n)
31. Pattern Problems/Java Patterns/Qns8.java:11
↓ 1 callers
Method
Answer
(int n)
31. Pattern Problems/Java Patterns/Qns13.java:10
↓ 1 callers
Method
Answer
(int n)
31. Pattern Problems/Java Patterns/pattern_2.java:12
↓ 1 callers
Method
Answer
(int n)
31. Pattern Problems/Java Patterns/Qns10.java:11
↓ 1 callers
Method
Answer
(int n)
31. Pattern Problems/Java Patterns/Qns14.java:10
↓ 1 callers
Function
BFS
17. Graph/BFS.cpp:32
↓ 1 callers
Method
BFS
(int a, int b, int target)
17. Graph/WaterJugProblem.java:14
↓ 1 callers
Method
BFS
17. Graph/bfs traversal.cpp:39
↓ 1 callers
Function
BinToOct
01. Mathematics/21_Binary To Octal.cpp:19
↓ 1 callers
Function
BinarySearch
05. Searching/Search in nearly sorted array.cpp:4
↓ 1 callers
Function
BinarySearch
05. Searching/Find the position of element in an infinite sorted array.cpp:4
↓ 1 callers
Function
Check_Pattern
05. Searching/KMP_Algorithm.cpp:53
↓ 1 callers
Function
CocktailSort
Sorts arrar a[0..n-1] using Cocktail sort
06. Sorting/cocktail_sort.cpp:5
↓ 1 callers
Method
DFS
()
17. Graph/dfs_recursive.java:39
↓ 1 callers
Method
DFSUtil
(int v, boolean visited[])
17. Graph/dfs_recursive.java:25
↓ 1 callers
Function
DYNAMIC_ACTIVITY_SELECTOR
06. Sorting/DYNAMIC_ACTIVITY_SELECTOR.cpp:41
↓ 1 callers
Function
DecToOct
01. Mathematics/23_DecimalToOct.cpp:18
↓ 1 callers
Function
DecToOct
30. CPP Programs/Decimal To Octal Conversion.cpp:17
↓ 1 callers
Method
Decrease_key
Decrease Key Operation
16. Heap/FibonacciHeap.cpp:286
↓ 1 callers
Function
Delete
04. Arrays/queue.cpp:17
↓ 1 callers
Method
Delete_key
Deleting key
16. Heap/FibonacciHeap.cpp:386
↓ 1 callers
Function
Dijkstra
17. Graph/SpringLoaded.cpp:18
↓ 1 callers
Function
Display
04. Arrays/queue.cpp:26
↓ 1 callers
Method
Display
Display the heap
16. Heap/FibonacciHeap.cpp:130
↓ 1 callers
Method
Display
11. Stack/simple_stack.cpp:58
↓ 1 callers
Function
EditDistDP
27. LeetCode Problems/72.Edit_distance.cpp:8
↓ 1 callers
Method
Extract_Min
Extract min
16. Heap/FibonacciHeap.cpp:153
↓ 1 callers
Method
Fibonacci
(int N)
32. Java Programs/fibbonacci.java:6
↓ 1 callers
Method
FindAns
(int[] arr, int target)
05. Searching/Floor_solution.java:9
↓ 1 callers
Method
FindAns
(int[] arr, int target)
05. Searching/ceiling_solution.java:9
↓ 1 callers
Function
FloydWarshall
The main function that finds the shortest path from a vertex to all other vertices using Floyd-Warshall Algorithm.
20. Dynamic Programming/floyd_warshall.cpp:47
↓ 1 callers
Function
Game
36. C Programs/Rock_paper_scissor.c:8
↓ 1 callers
Function
GenerateLPS
Step 1: Pre-Processing: Time Complexity O(m) Making 'lps' Array (Length of longest Prfix which is also the suffix). Here lps[i] represent the length o
05. Searching/KMP_Algorithm.cpp:23
↓ 1 callers
Function
GetKey
()
24. Cryptography/AES_Enc_Dec.py:15
↓ 1 callers
Function
HuffmanCodes
The main function that builds a Huffman Tree and print codes by traversing the built Huffman Tree
18. Greedy/HuffmanCoding.cpp:55
↓ 1 callers
Function
Iend
10. Linked List/cpp/FoldLL.cpp:15
↓ 1 callers
Function
ImplementAtoi
09. String/ImplementATOI.cpp:5
↓ 1 callers
Method
InitializeHeap
Initialize heap
16. Heap/FibonacciHeap.cpp:49
↓ 1 callers
Function
Insert
04. Arrays/queue.cpp:4
← previous
next →
501–600 of 4,122, ranked by callers