Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ayu-99/Data-Structures
/ functions
Functions
807 in github.com/Ayu-99/Data-Structures
⨍
Functions
807
◇
Types & classes
444
Function
bubble_sort_LinkedList_itr
Bubble Sort LL.cpp:45
Method
build
Leetcode Challenge/June/Range Sum Query - Mutable.cpp:6
Method
buildTree
Leetcode Challenge/June/Construct Binary Tree from Preorder and Inorder Traversal.cpp:52
Method
buildTree_helper
Leetcode Challenge/June/Construct Binary Tree from Preorder and Inorder Traversal.cpp:15
Function
buyTicket
Buy the Ticket.cpp:35
Method
calPoints
(self, ops: List[str])
Leetcode Challenge/April/Python/Baseball Game.py:2
Method
calPoints
Leetcode Challenge/April/C++/Baseball Game.cpp:3
Method
calculate
Leetcode Challenge/December/Basic Calculator II.cpp:4
Method
calculateSoldierCount
Leetcode Challenge/March/C++/The K Weakest Rows in a Matrix.cpp:2
Method
canCompleteCircuit
Leetcode Challenge/January/Gas Station.cpp:3
Method
canEatInTime
Leetcode Challenge/January/Koko Eating Bananas.cpp:14
Method
canPartition
Leetcode Challenge/December/Partition Equal Subset Sum.cpp:12
Method
canPlaceFlowers
Leetcode Challenge/January/Can Place Flowers.cpp:3
Method
canPlaceFlowers
(int[] flowerbed, int n)
Leetcode Challenge/January/Java/Can Place Flowers.java:2
Method
canReach
(self, arr: List[int], start: int)
Leetcode Challenge/December/Jump Game III.py:2
Method
candy
Leetcode Challenge/June/Candy.cpp:3
Method
candy
(self, ratings: List[int])
Leetcode Challenge/June/Python/Candy.py:2
Function
candyStore
(self, candies,N,k)
Greedy/Shop in Candy Store.py:1
Method
carPooling
Leetcode Challenge/January/Car Pooling.cpp:23
Method
champagneTower
Leetcode Challenge/March/C++/Champagne Tower.cpp:3
Method
champagneTower
(int poured, int query_row, int query_glass)
Leetcode Challenge/March/Java/Champagne Tower.java:2
Method
change
(int index, int number)
Leetcode Feb challenge2k25/Design a Number Container System.java:10
Function
checkBalanced
Stacks and Queues/Balanced Parenthesis.cpp:17
Method
checkIn
(self, id: int, stationName: str, t: int)
Leetcode Challenge/April/Python/Design Underground System.py:8
Method
checkIn
Leetcode Challenge/April/C++/Design Underground System.cpp:8
Method
checkIn
(int id, String stationName, int t)
Leetcode Challenge/April/Java/Design Underground System.java:7
Method
checkInclusion
Leetcode Challenge/February/cpp/Permutation in String.cpp:4
Method
checkInclusion
(String s1, String s2)
Leetcode Challenge/February/java/Permutation in String.java:2
Method
checkOut
(self, id: int, stationName: str, t: int)
Leetcode Challenge/April/Python/Design Underground System.py:11
Method
checkOut
Leetcode Challenge/April/C++/Design Underground System.cpp:12
Method
checkOut
(int id, String stationName, int t)
Leetcode Challenge/April/Java/Design Underground System.java:11
Function
checkRedundantBrackets
Stacks and Queues/Assignment/Check Redundant Brackets.cpp:21
Method
cherryPickup
Leetcode Challenge/January/Cherry Pickup II.cpp:24
Method
clearDigits
(String s)
Leetcode Feb challenge2k25/Clear digits.java:2
Method
climbStairs
Leetcode Challenge/december2k22/Climbing Stairs.cpp:11
Function
cloneGraph
Leetcode Challenge/February/cpp/Clone Graph.cpp:22
Method
combination2
Backtracking/C++/Combination Sum 2.cpp:10
Method
combinationSum
Leetcode Challenge/February/cpp/Combination Sum.cpp:26
Method
combinationSum
(int[] candidates, int target)
Leetcode Challenge/February/java/Combination Sum.java:1
Method
combinationSum2
(self, candidates, target)
Backtracking/Python/Combination Sum 2.py:2
Method
combinationSum2
Backtracking/C++/Combination Sum 2.cpp:3
Method
combinationSum2
(int[] candidates, int target)
Backtracking/Java/Combination Sum 2.java:3
Function
comp
comparator function for sorting 2D vector
Leetcode Challenge/January/Minimum Number of Arrows to Burst Balloons.cpp:2
Function
compare
HashMaps/Sort strings lexicographically according to given sequence of characters.cpp:30
Function
compare
Graphs/Kruskals.cpp:48
Function
compare
Leetcode Challenge/June/Maximum Units on a Truck.cpp:1
Method
compareList
Linked List/Palindrome Linked List.cpp:32
Method
compareTo
(Tuple other)
Leetcode Challenge/March/Java/Maximum Frequency Stack.java:38
Method
compareVersion
Leetcode Challenge/February/cpp/Compare Version Numbers.cpp:3
Method
compareVersion
(self, version1: str, version2: str)
Leetcode Challenge/February/Python/Compare Version Numbers.py:2
Method
compareVersion
(String version1, String version2)
Leetcode Challenge/February/java/Compare Version Numbers.java:2
Function
compare_lists
Compare two linked list.cpp:1
Method
compress
Strings/String Compression.cpp:3
Method
connect
Leetcode Challenge/December/Populating Next Right Pointers in Each Node.cpp:21
Method
construct
Trees/Construct Quad Tree.cpp:94
Function
constructTree
Convert sorted array into BST.cpp:51
Method
containsDuplicate
(int[] nums)
Find Duplicate Number.java:23
Method
convertBST
(self, root)
Leetcode Challenge/April/Python/Convert BST to Greater Tree.py:5
Method
convertBST
Leetcode Challenge/April/C++/Convert BST to Greater Tree.cpp:16
Method
convertBST
(TreeNode root)
Leetcode Challenge/April/Java/Convert BST to Greater Tree.java:4
Method
copyRandomList
(self, head: 'Optional[Node]')
Leetcode Challenge/March/Python/Copy List with Random Pointer.py:11
Method
copyRandomList
Leetcode Challenge/March/C++/Copy List with Random Pointer.cpp:19
Method
copyRandomList
(Node head)
Leetcode Challenge/March/Java/Copy List with Random Pointer.java:17
Method
countBadPairs
(int[] nums)
Leetcode Feb challenge2k25/Count Number of Bad Pairs.java:3
Method
countBits
(self, num: int)
Leetcode Challenge/March/Python/Counting Bits.py:2
Method
countBits
Leetcode Challenge/March/C++/Counting Bits.cpp:29
Method
countBits
(int n)
Leetcode Challenge/March/Java/Counting Bits.java:2
Function
countBracketReversals
Stacks and Queues/Assignment/Minimum Bracket Reversal.cpp:20
Method
countDistinct
(self, arr, k)
Sliding window/Fixed-size sliding window/Count distinct elements in every window.py:3
Method
countOrders
(self, n: int)
Leetcode Challenge/March/Python/Count All Valid Pickup and Delivery Options.py:2
Method
countOrders
Leetcode Challenge/March/C++/Count All Valid Pickup and Delivery Options.cpp:3
Method
countOrders
(int n)
Leetcode Challenge/March/Java/Count All Valid Pickup and Delivery Options.java:2
Method
countPrefixSuffixPairs
(self, words: List[str])
Strings/Count Prefix and Suffix Pairs I.py:2
Method
countSmaller
Leetcode Challenge/June/Count of Smaller Numbers After Self.cpp:52
Function
countStepsToOne
Dynamic Programming/Min steps to 1.cpp:32
Function
countSubIslands
(self, grid1: List[List[int]], grid2: List[List[int]])
Graphs/Count Sub Islands.py:2
Function
countVowelPermutation
(self, n: int)
Leetcode July Challenge/Python/Count Vowels Permutation.py:1
Method
countVowelPermutation
Leetcode July Challenge/C++/Count Vowels Permutation.cpp:45
Method
countVowelStrings
Leetcode Challenge/May/C++/Count Sorted Vowel Strings.cpp:28
Method
customMin
Leetcode Challenge/december2k22/Minimum Falling Path Sum.cpp:26
Method
customSortString
(self, order: str, s: str)
Leetcode July Challenge/Python/Custom Sort String.py:3
Method
customSortString
Leetcode July Challenge/C++/Custom Sort String.cpp:3
Method
dailyTemperatures
Leetcode Challenge/december2k22/Daily Temperatures.cpp:3
Method
decodeString
(self, s: str)
Leetcode Challenge/December/Decode String.py:2
Method
decrypt
(self, code: List[int], k: int)
Sliding window/Fixed-size sliding window/Defuse the Bomb.py:17
Method
deleteAndEarn
Leetcode Challenge/March/C++/Delete and Earn.cpp:3
Method
deleteAndEarn
(int[] nums)
Leetcode Challenge/March/Java/Delete and Earn.java:2
Method
deleteAtIndex
Delete the index-th node in the linked list, if the index is valid. */
Linked List/Design Linked List.cpp:101
Method
deleteDuplicates
Leetcode Challenge/March/C++/Remove Duplicates from Sorted List II.cpp:13
Method
deleteDuplicates
(ListNode head)
Leetcode Challenge/March/Java/Remove Duplicates from Sorted List II.java:12
Method
deleteNode
:type node: ListNode :rtype: void Do not return anything, modify node in-place instead.
Linked List/Delete Node in a Linked List.py:8
Method
dequeue
Stacks and Queues/Queue using LL.cpp:127
Method
detectCapitalUse
Leetcode Challenge/January/Detect Capital.cpp:3
Method
detectCycle
Leetcode Challenge/January/Linked List Cycle II.cpp:14
Method
detectCycle
(ListNode head)
Leetcode Challenge/January/Java/Linked List Cycle II.java:1
Method
dfs
Leetcode Challenge/december2k22/Maximum Product of Splitted Binary Tree.cpp:21
Method
dfs
Leetcode Challenge/december2k22/Binary Tree Maximum Path Sum.cpp:15
Method
dfs
Leetcode Challenge/december2k22/Find if Path Exists in Graph.cpp:4
Method
dfs
Leetcode Challenge/december2k22/Maximum Difference Between Node and Ancestor.cpp:19
Method
dfs
Leetcode Challenge/June/Max Area of Island.cpp:13
← previous
next →
201–300 of 807, ranked by callers