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
Method
dfs
Leetcode Challenge/June/Matchsticks to Square.cpp:4
Method
dfs
Leetcode Challenge/June2k22/cpp/N Queens II.cpp:12
Method
dfs
Leetcode Challenge/June2k22/cpp/Search Suggestions System.cpp:50
Method
dfs
Leetcode Challenge/June2k22/cpp/Binary Tree Cameras.cpp:20
Method
dfs
Leetcode Challenge/February/cpp/Clone Graph.cpp:24
Method
dfs
Leetcode Challenge/January/Cherry Pickup II.cpp:6
Method
dfs
Leetcode Challenge/January/Sequential Digits.cpp:5
Method
dfs
Leetcode Challenge/December/Course Schedule II.cpp:3
Function
elementsInRangeK1K2
Print Elements in Range in BST.cpp:35
Method
enough
(distance)
Binary Search/Python/Find K-th Smallest Pair Distance.py:4
Method
enqueue
Stacks and Queues/Queue using LL.cpp:100
Method
evalRPN
Leetcode Challenge/december2k22/Evaluate Reverse Polish Notation.cpp:4
Method
evalRPN
(self, A)
Stacks and Queues/Evaluate Expression.py:5
Method
fib
Leetcode Challenge/July2K22/cpp/Fibonacci Number.cpp:3
Method
find132pattern
Leetcode Challenge/May/C++/132 Pattern.cpp:3
Method
findAnagrams
Leetcode Challenge/February/cpp/Find all anagrams in a string.cpp:3
Method
findCenter
(int[][] edges)
Graphs/Find Center of Star Graph.java:2
Method
findClosestElements
(self, arr: List[int], k: int, x: int)
Leetcode July Challenge/Python/Find K Closest Elements.py:2
Method
findClosestElements
Leetcode July Challenge/C++/Find K Closest Elements.cpp:23
Method
findComplement
Leetcode Challenge/December/Number Complement.cpp:4
Method
findContentChildren
(int[] g, int[] s)
Greedy/Assign Cookies.java:2
Method
findDuplicate
(int[] nums)
Find Duplicate Number.java:6
Method
findDuplicateSubtrees
Trees/Find Duplicate Subtrees.cpp:59
Method
findInMountainArray
(self, target: int, mountain_arr: 'MountainArray')
Binary Search/Find in Mountain Array.py:11
Method
findJudge
Leetcode Challenge/January/Find the Town Judge.cpp:3
Method
findKthLargest
Leetcode Challenge/June2k22/cpp/Kth Largest Element in an Array.cpp:3
Method
findLength
(self, A: List[int], B: List[int])
Leetcode July Challenge/Python/Maximum Length of Repeated Subarray Maximum Length of Repeated Subarray.py:2
Method
findLength
Leetcode July Challenge/C++/Maximum Length of Repeated Subarray.cpp:3
Method
findMatrix
(int[] v)
HashMaps/Convert an Array Into a 2D Array With Conditions.java:2
Method
findMaxAverage
(self, nums: List[int], k: int)
Sliding window/Fixed-size sliding window/Maximum Average Subarray I.py:2
Method
findMaxLength
Leetcode Challenge/February/cpp/Contiguous Array.cpp:3
Method
findMaxLength
(int[] nums)
Leetcode Challenge/February/java/Contiguous Array.java:2
Method
findMaximizedCapital
Heap/Max Heap/IPO.cpp:5
Method
findMaximumXOR
Leetcode Challenge/January/Maximum XOR of Two Numbers in an Array.cpp:56
Method
findMedian
(self)
Leetcode July Challenge/Python/Find Median from Data Stream.py:17
Method
findMedian
Leetcode July Challenge/C++/Find Median from Data Stream.cpp:26
Method
findMid
Linked List/Palindrome Linked List.cpp:13
Method
findMinArrowShots
Leetcode Challenge/January/Minimum Number of Arrows to Burst Balloons.cpp:7
Function
findMinDiff
(self, A,N,M)
Greedy/Chocolate Distribution Problem.py:1
Method
findMinHeightTrees
Leetcode Challenge/December/Minimum Height Trees.cpp:3
Method
findOrder
Leetcode Challenge/December/Course Schedule II.cpp:18
Method
findPairs
Leetcode Challenge/February/cpp/K-diff Pairs in an Array.cpp:3
Method
findPairs
(int[] nums, int k)
Leetcode Challenge/February/java/K-diff Pairs in an Array.java:2
Method
findParent
(src)
Leetcode Challenge/June/Python/Redundant Connection.py:8
Function
findPath
Find Path in BST.cpp:37
Method
findPaths
Leetcode Challenge/June/Out of Boundary Paths.cpp:28
Method
findPaths
(self, m: int, n: int, maxMove: int, startRow: int, startColumn: int)
Leetcode Challenge/June/Python/Out of Boundary Paths.py:27
Method
findPathsH
Leetcode Challenge/June/Out of Boundary Paths.cpp:6
Method
findPeakElement
(self, arr: List[int])
Leetcode July Challenge/Python/Find Peak Element.py:2
Method
findPeakElement
Leetcode July Challenge/C++/Find Peak Element.cpp:3
Method
findRedundantConnection
Leetcode Challenge/June/Redundant Connection.cpp:3
Method
findRedundantConnection
(self, edges: List[List[int]])
Leetcode Challenge/June/Python/Redundant Connection.py:3
Method
findRepeatedDnaSequences
(self, s: str)
Sliding window/Repeated DNA Sequences.py:2
Method
findTheDifference
(String s, String t)
Find Extra Character.java:3
Method
findTheDifference
Leetcode Challenge/February/cpp/Find the Difference.cpp:3
Method
findTheDifference
(String s, String t)
Leetcode Challenge/February/java/Find the Difference.java:2
Method
findTilt
Leetcode Challenge/December/Binary Tree Tilt.cpp:21
Method
findUnsortedSubarray
Leetcode Challenge/May/C++/Shortest Unsorted Continuous Subarray.cpp:3
Method
firstNegInt
(self, arr, k)
Sliding window/Fixed-size sliding window/First negative in every window of size k.py:4
Method
fourSum
(self, nums: List[int], target: int)
Leetcode July Challenge/Python/4 Sum.py:2
Method
fourSum
Leetcode July Challenge/C++/4 Sum.cpp:3
Method
fourSumCount
Leetcode Challenge/February/cpp/4 sum II.cpp:3
Method
fourSumCount
(int[] nums1, int[] nums2, int[] nums3, int[] nums4)
Leetcode Challenge/February/java/4 Sum II.java:2
Function
free_singly_linked_list
Inserting A Node at a given position in Linked List.c:61
Method
fullBloomFlowers
(self, flowers: List[List[int]], people: List[int])
Binary Search/Number of Flowers in Full Bloom.py:2
Method
furthestBuilding
Leetcode Challenge/June2k22/cpp/Furthest Building You Can Reach.cpp:34
Method
gameOfLife
Leetcode Challenge/April/C++/Game of Life.cpp:8
Method
generate
Leetcode July Challenge/C++/Gray Code.cpp:13
Method
generate
Leetcode Challenge/June/Pascal's Triangle.cpp:3
Method
generateMatrix
Leetcode Challenge/April/C++/Spiral Matrix II.cpp:3
Method
generateParenthesis
Leetcode Challenge/June/Generate Parentheses.cpp:22
Method
getAllElements
Leetcode Challenge/January/All Elements in Two Binary Search Trees.cpp:60
Method
getAverageTime
(self, startStation: str, endStation: str)
Leetcode Challenge/April/Python/Design Underground System.py:17
Method
getAverageTime
Leetcode Challenge/April/C++/Design Underground System.cpp:21
Method
getAverageTime
(String startStation, String endStation)
Leetcode Challenge/April/Java/Design Underground System.java:22
Method
getDecimalValue
Linked List/Convert Binary Number In a LL To Integer.cpp:70
Method
getDecimalValue
Leetcode Challenge/December/Convert Binary Number in a Linked List to Integer.cpp:27
Method
getMin
Heap/Min Heap/Implementation.cpp:10
Method
getRandom
Returns a random node's value. */
Leetcode Challenge/January/Linked List Random Node.cpp:27
Method
getRear
Stacks and Queues/Queue.cpp:46
Method
getSize
Heap/Min Heap/Implementation.cpp:14
Method
getSize
Stacks and Queues/Stack using LL.cpp:97
Method
getSize
Stacks and Queues/Queue using LL.cpp:119
Method
getSmallestString
(self, n: int, k: int)
Leetcode Challenge/March/Python/Smallest String With A Given Numeric Value.py:2
Method
getSmallestString
Leetcode Challenge/March/C++/Smallest String With A Given Numeric Value.cpp:3
Method
getSmallestString
(int n, int k)
Leetcode Challenge/March/Java/Smallest String With A Given Numeric Value.java:2
Method
getSuccessor
(self, A, B)
Trees/Next Greater Number BST.py:12
Method
grayCode
(self, n: int)
Leetcode July Challenge/Python/Gray Code.py:4
Method
grayCode
Leetcode July Challenge/C++/Gray Code.cpp:3
Method
hasAllCodes
Leetcode Challenge/May/C++/Check If a String Contains All Binary Codes of Size K.cpp:3
Function
hasCycle
Leetcode Challenge/March/Java/Linked List Cycle.cpp:13
Method
hasCycle
(self, head: Optional[ListNode])
Leetcode Challenge/March/Python/Linked List Cycle.py:8
Method
hasCycle
Leetcode Challenge/March/C++/Linked List Cycle.cpp:11
Function
height
heightOfABTree.cpp:27
Method
heightChecker
(int[] heights)
Sorting/Height checker.java:4
Method
helper
(n)
Leetcode July Challenge/Python/Gray Code.py:6
Method
helper
Leetcode July Challenge/C++/Count Vowels Permutation.cpp:9
Method
helper
Leetcode July Challenge/C++/Binary Tree Pruning.cpp:15
Method
helper
Linked List/Convert Sorted List to BST.cpp:51
Method
helper
Leetcode Challenge/April/C++/Increasing Order Search Tree.cpp:16
← previous
next →
301–400 of 807, ranked by callers