Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice
/ functions
Functions
2,762 in github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice
⨍
Functions
2,762
◇
Types & classes
612
Method
ans
Leetcode/C++/binary_tree_from_preorder_and_inorder.cpp:39
Function
antirotate
the main part of the whole code starts now
Algorithms/rotate90.cpp:54
Method
array_to_tree
(left, right)
Leetcode/Python/binary_tree_from_inorder_and_preorder.py:28
Method
bfscycle
Data Structures/Graph/C++/Detect Cycle In Undirected Graph.cpp:6
Function
binpow
Codechef/C++/Valid Paths (VPATH).cpp:30
Method
breakPalindrome
Leetcode/C++/leetcode.cpp:7
Function
bruh
Codechef/C++/BugCrush 2 Question 1 (BUGC201).cpp:4
Function
bubble_sort
Algorithms/Searching and Sorting/C++/sorting.cpp:4
Method
buildTree
(self, preorder: List[int], inorder: List[int])
Leetcode/Python/binary_tree_from_inorder_and_preorder.py:26
Method
buildTree
Leetcode/C++/binary_tree_from_preorder_and_inorder.cpp:21
Method
cal
Leetcode/C++/Deepest Leaves Sum.cpp:45
Method
calculate
Leetcode/C++/permutations.cpp:24
Method
canCompleteCircuit
Leetcode/C++/Gas Station greedy.cpp:24
Method
canJump
Leetcode/C++/55 jump game.cpp:31
Method
canPartition
(int[] nums)
Algorithms/Dynamic Problems/Java/Equal_sum_Partition.java:17
Method
checkCycle
Gfg/C++/Detect cycle in an undirected graph.cpp:16
Method
checkInclusion
Leetcode/C++/Permutation in string.cpp:20
Function
climbStairs
Leetcode/C++/Climbing stairs.cpp:20
Method
cloneGraph
Leetcode/C++/Clone graph.cpp:44
Function
cmp
Algorithms/Graph/C++/DFSGraphValidation.cpp:10
Function
cmp
Leetcode/C++/LargestNumber_Leetcode.cpp:5
Method
cmp
Algorithms/Miscellaneous/C++/contamenatedwords.cpp:37
Function
cnp
cnp() is a comparison function used in sort function to sort the items in a definite manner. */
Algorithms/Greedy Algorithms/C++/Fractional_Knapsack_in_C++.cpp:51
Method
combinationSum2
Leetcode/Combination Sum2.cpp:14
Method
combinationSum4
Leetcode/C++/Combination Sum IV Solution.cpp:3
Function
comp
Atcoder dp/X - Tower.cpp:22
Method
comp
Gfg/C++/Job Sequencing Problem.cpp:29
Method
comp
Gfg/C++/N meetings in one room.cpp:10
Method
compare
(ItemValue o1, ItemValue o2)
Algorithms/Greedy Algorithms/Java/Fractional Knapsack Problem.java:19
Method
compare
Leetcode/C++/FindAndReplace.cpp:34
Method
compare
(String o1, String o2)
Hackerank/Java/bigdecimal.java:17
Method
compare
Gfg/C++/sort_by_set_bit.cpp:29
Method
compare
(Node n1,Node n2)
Gfg/Java/Huffman Encoding.java:27
Function
compareX
Needed to sort array of points according to X coordinate
Algorithms/Divide and Conquer/C++/Closest Pair of Points using Divide and Conquer algorithm.cpp:20
Function
compareY
Needed to sort array of points according to Y coordinate
Algorithms/Divide and Conquer/C++/Closest Pair of Points using Divide and Conquer algorithm.cpp:27
Function
comparison
This function is used for sorting all jobs according to profit
Algorithms/Greedy Algorithms/C++/Job Sequencing Problem.cpp:16
Function
comparison
This Function is used to sort the vector arr
Operating System/CPU Scheduler/Round Robin.cpp:36
Method
connected
Gfg/C++/bridge_edge_in_graph.cpp:25
Method
convertt
arr[]: Input Array N : Size of the Array arr[] Function to count inversions in the array.
Gfg/C++/Count Inversions.cpp:11
Method
countAndSay
(self, n)
Gfg/Python/CountAndSay.py:2
Method
countBitsFlip
(int a, int b)
Miscellaneous problems/flipbits.java:10
Method
create_node
Creating node
Data Structures/LinkedList/C++/SinglyLinkedList.cpp:118
Method
cross
Leetcode/C++/Letter_Combinations_Phone_Number.cpp:68
Method
deepestLeavesSum
Leetcode/C++/Deepest Leaves Sum.cpp:57
Method
deleteNode
Leetcode/C++/Delete a given Node when a node is given.cpp:13
Method
deleteNode
Data Structures/Delete a given Node when a node is given.cpp:13
Method
deleteNodeHelper
Data Structures/Tree/C++/Red Black Tree (Insertion and Deletion operation).cpp:155
Method
deserialize
Decodes your encoded data to tree.
Leetcode/C++/Serialize and Deserialize Binary tree.cpp:46
Method
detectCycle
(ListNode head)
Leetcode/Java/Linked List Cycle II.java:30
Method
dfs
Leetcode/C++/flood_Fill.cpp:16
Method
dfs
Gfg/C++/Find the number of islands.cpp:17
Method
dfs
Gfg/C++/Strongly Connected Components.cpp:20
Method
dfs
Gfg/C++/bridge_edge_in_graph.cpp:12
Method
dfs
Gfg/C++/topological_sort.cpp:18
Method
disjointset
Constructor to create and initialize sets of n items
Algorithms/Disjoint Set/C++/union_find_algorithm.cpp:10
Method
display_parent
display methods -----------------------------------------------------------------------------
Algorithms/Disjoint Set/C++/union_find_algorithm.cpp:35
Method
display_rank
Algorithms/Disjoint Set/C++/union_find_algorithm.cpp:44
Method
dsmakeset
Creates n single item sets
Algorithms/Disjoint Set/C++/union_find_algorithm.cpp:23
Function
extractMax
Algorithms/Dynamic Problems/k_arrayheap.cpp:100
Method
findAndReplacePattern
Leetcode/C++/FindAndReplace.cpp:17
Method
findKthPositive
(self, arr: list[int], k: int)
Leetcode/Python/KthMissingPositiveNumber.py:19
Method
findKthPositive
Leetcode/C++/KthMissingPositiveNumber.cpp:16
Method
findLength
:type nums1: List[int] :type nums2: List[int] :rtype: int
Leetcode/Python/Max Length of Subarray.py:18
Function
findMedian
Gfg/C++/median_of_two_sorted_arrays.cpp:21
Method
findNth
(long N)
Gfg/Java/NthNatural.java:2
Method
findSum
Funtion for addition of two strings
Gfg/C++/minimum_sum.cpp:18
Function
findTwoElement
Gfg/C++/find_missing_and_repeating.cpp:5
Method
find_set
Algorithms/Graph/C++/Krushal's Algo.cpp:36
Method
firstBadVersion
Leetcode/C++/First_Bad_Version.cpp:26
Method
firstMissingPositive
Leetcode/C++/first_missing_positive.cpp:16
Method
firstUniqChar
()
Leetcode/firstunquiecharacter.java:5
Method
firstUniqChar
Leetcode/C++/First unique character in a string.cpp:24
Method
fixDelete
fix the rb tree modified by the delete operation
Data Structures/Tree/C++/Red Black Tree (Insertion and Deletion operation).cpp:66
Method
fixInsert
fix the red-black tree
Data Structures/Tree/C++/Red Black Tree (Insertion and Deletion operation).cpp:212
Method
fourSum
Leetcode/C++/4Sum.cpp:5
Function
free_doubly_linked_list
Hackerank/C/Inserting a Node into a Sorted Doubly Linked List.c:49
Function
free_singly_linked_list
Hackerank/C/Print element in Linked List.c:47
Function
free_singly_linked_list
Hackerank/C/Get Node Value.c:59
Function
free_singly_linked_list
Hackerank/C/Cycle Detection.c:59
Function
free_singly_linked_list
Hackerank/C/Merge two sorted linkedlist.c:59
Method
func
Leetcode/C++/Binary Tree Maximum Path Sum.cpp:30
Function
gcd
Codechef/C++/mod-equality.cpp:74
Method
generate_neighbours
Leetcode/C++/Open the door.cpp:53
Method
getBreadth
Hackerank/C++/Box It.cpp:35
Method
getHeight
Hackerank/C++/Box It.cpp:39
Method
getLength
Hackerank/C++/Box It.cpp:31
Method
getMaxCountChar
Function to get the character with maximum count
Leetcode/C++/Reorganize Strings.cpp:20
Function
getNode
* For your reference: * * SinglyLinkedListNode { * int data; * SinglyLinkedListNode* next; * }; * */
Hackerank/C/Get Node Value.c:79
Function
getRand
Codechef/C++/Tree House (THOUSES).cpp:20
Method
getRoot
Data Structures/Tree/C++/Red Black Tree (Insertion and Deletion operation).cpp:445
Method
getSum
Gfg/C++/Count Inversions.cpp:25
Function
get_document
Hackerank/C/Structuring the Document.c:26
Function
get_document
Hackerank/C/Querying the Document.c:20
Method
graph
Gfg/Minimum spanning tree.cpp:57
Method
hammingDistance
Leetcode/C++/Hamming_Distance.cpp:3
Method
hammingWeight
Leetcode/C++/Number of 1 bits.cpp:24
Method
hasCycle
Gfg/C++/Detect Cycle in Linklist.cpp:14
Function
has_cycle
* For your reference: * * SinglyLinkedListNode { * int data; * SinglyLinkedListNode* next; * }; * */
Hackerank/C/Cycle Detection.c:79
Method
hash
return last digit of key
Algorithms/Hashing Techniques/Chaining.cpp:36
Method
hash
Data Structures/Array/C++/ChainHashing.cpp:11
← previous
next →
1,601–1,700 of 2,762, ranked by callers