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
main
Stacks and Queues/Stack Implementation using Arrays.cpp:56
Method
main
(String[] args)
Check If Two Strings Are Isomorphic.java:31
Method
main
(String[] args)
Generate Binary Numbers.java:4
Method
main
(String[] args)
Check If One String Is Rotation of Another.java:26
Method
main
(String[] args)
Check If One String Is Rotation of Another.java:102
Method
main
(String[] args)
Find Two Unique Numbers.java:22
Method
main
(String[] args)
Find Two Unique Numbers.java:51
Method
main
(String[] args)
Algorithms/Majority element.java:19
Method
main
(String[] args)
Algorithms/Majority element.java:46
Method
main
(String[] args)
Binary Search/Java/BinarySearch.java:21
Method
majorityElement
(int[] nums)
Majority Element.java:6
Method
majorityElement
Leetcode Challenge/February/cpp/Majority Element.cpp:3
Method
majorityElement
(self, nums: List[int])
Leetcode Challenge/February/Python/Majority Element.py:2
Method
majorityElement
(int[] nums)
Leetcode Challenge/February/java/Majority Element.java:2
Method
makesquare
Leetcode Challenge/June/Matchsticks to Square.cpp:46
Method
markTree
(curr)
Leetcode Challenge/April/Python/Recover Binary Search Tree.py:20
Method
markTree
Leetcode Challenge/April/C++/Recover Binary Search Tree.cpp:15
Method
matrixReshape
(self, mat: List[List[int]], r: int, c: int)
Leetcode July Challenge/Python/Reshape the Matrix.py:5
Method
matrixReshape
Leetcode July Challenge/C++/Reshape the Matrix.cpp:5
Method
maxAncestorDiff
Leetcode Challenge/december2k22/Maximum Difference Between Node and Ancestor.cpp:15
Method
maxArea
(self, height: List[int])
Leetcode Challenge/April/Python/Container With Most Water.py:2
Method
maxArea
Leetcode Challenge/April/C++/Container With Most Water.cpp:3
Method
maxArea
(int[] height)
Leetcode Challenge/April/Java/Container With Most Water.java:2
Method
maxArea
Leetcode Challenge/June/Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts.cpp:17
Method
maxAreaOfIsland
Leetcode Challenge/June/Max Area of Island.cpp:33
Method
maxDepth
Leetcode Challenge/February/cpp/Maximum Depth of Binary Tree.cpp:15
Method
maxDepth
(TreeNode root)
Leetcode Challenge/February/java/Maximum Depth of Binary Tree.java:17
Method
maxDiff
Leetcode Challenge/June/Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts.cpp:5
Method
maxDistToClosest
Leetcode Challenge/January/Maximize Distance to Closest Person.cpp:3
Method
maxDistToClosest
(int[] seats)
Leetcode Challenge/January/Java/Maximize Distance to Closest Person.java:2
Method
maxDistance
(self, arrays)
Greedy/Python/Maximum Distance in Arrays.py:2
Method
maxDistance
Greedy/C++/Maximum Distance in Arrays.cpp:3
Method
maxDistance
(List<List<Integer>> arrays)
Greedy/Java/Maximum Distance in Arrays.java:2
Method
maxDistance
(int[] position, int m)
Binary Search/Magnetic Force Between Two Balls.java:2
Method
maxDotProduct
(self, nums1: List[int], nums2: List[int])
Dynamic Programming/Max Dot Product of Two Subsequences.py:24
Method
maxPathSum
Leetcode Challenge/december2k22/Binary Tree Maximum Path Sum.cpp:24
Method
maxPerformance
Leetcode Challenge/June/Maximum Performance of a Team.cpp:3
Method
maxPower
Leetcode Challenge/December/Consecutive Characters.cpp:3
Method
maxProbability
Graphs/Path with Maximum Probability.cpp:3
Method
maxProduct
Leetcode Challenge/december2k22/Maximum Product of Splitted Binary Tree.cpp:15
Method
maxProfitAssignment
(int[] difficulty, int[] profit, int[] worker)
Binary Search/Most Profit Assigning Work.java:26
Method
maxResult
Leetcode Challenge/June/Jump Game VI.cpp:4
Method
maxSubArray
(self, nums: List[int])
Algorithms/Kadane's Algorithm(1D).py:15
Method
maxSumSubmatrix
(self, matrix: List[List[int]], k: int)
Leetcode July Challenge/Python/Max Sum of Rectangle No Larger Than K.py:3
Method
maxSumSubmatrix
Leetcode July Challenge/C++/Max Sum of Rectangle No Larger Than K.cpp:5
Method
maxValue
(self, n: str, x: int)
Leetcode contest/243/Maximum Value after Insertion.py:2
Method
maximalSquare
T.C - O(m*n) S.C - O(n)
Leetcode Challenge/December/Maximal Square.cpp:25
Method
maximizeSum
(self, a, n, k)
Greedy/Maximize sum after K negations.py:5
Method
maximumOddBinaryNumber
Leetcode Challenge/March2k24/Maximum Odd Binary Number.cpp:3
Method
maximumUniqueSubarray
Leetcode Challenge/June2k22/cpp/Maximum Erasure Value.cpp:3
Method
maximumUnits
Leetcode Challenge/June/Maximum Units on a Truck.cpp:9
Method
maximumWealth
Leetcode Challenge/January/Richest Customer Wealth.cpp:3
Method
maximumWealth
(int[][] accounts)
Leetcode Challenge/January/Java/Richest Customer Wealth.java:2
Method
merge
Leetcode Challenge/June/Count of Smaller Numbers After Self.cpp:4
Method
merge
Leetcode Challenge/June2k22/cpp/Merge Sorted Array.cpp:3
Function
mergeKLists
Leetcode Challenge/February/cpp/Merge k Sorted Lists.cpp:20
Method
mergeKLists
Linked List/Merge K sorted Linked List.cpp:29
Method
mergeKLists
(ListNode[] lists)
Leetcode Challenge/February/java/Merge k Sorted Lists.java:2
Function
mergeLists
Merge two Sorted Linked List.cpp:1
Method
mergeSort
Leetcode Challenge/June/Count of Smaller Numbers After Self.cpp:40
Function
mergeTwoLLs
Merge two sorted LL.cpp:35
Method
mergeTwoLists
(self, l1: ListNode, l2: ListNode)
Leetcode Challenge/March/Python/Merge Two Sorted Lists.py:7
Method
mergeTwoLists
Leetcode Challenge/March/C++/Merge Two Sorted Lists.cpp:13
Method
mergeTwoLists
(ListNode head1, ListNode head2)
Leetcode Challenge/March/Java/Merge Two Sorted Lists.java:12
Method
mergeVectors
Leetcode Challenge/January/All Elements in Two Binary Search Trees.cpp:26
Method
mergelist
Leetcode Challenge/February/cpp/SortList.cpp:39
Function
midpoint_linkedlist
Midpoint of LL.cpp:31
Method
minCameraCover
Leetcode Challenge/June2k22/cpp/Binary Tree Cameras.cpp:14
Method
minCostClimbingStairs
Leetcode Challenge/June/Min Cost Climbing Stairs.cpp:4
Method
minCostToMoveChips
Leetcode Challenge/December/Minimum Cost to Move Chips to The Same Position.cpp:3
Function
minCount
Minimum Count.cpp:60
Method
minDays
(int[] bloomDay, int m, int k)
Binary Search/Minimum Number of Days to Make m Bouquets.java:22
Method
minDistance
Leetcode Challenge/June2k22/cpp/Delete Operation for Two Strings.cpp:4
Method
minDistance
Dynamic Programming/Edit Distance.cpp:30
Method
minDistanceHelper
Dynamic Programming/Edit Distance.cpp:3
Method
minDominoRotations
Leetcode Challenge/March/C++/Minimum Domino Rotations For Equal Row.cpp:3
Method
minDominoRotations
(int[] A, int[] B)
Leetcode Challenge/March/Java/Minimum Domino Rotations For Equal Row.java:2
Method
minEatingSpeed
Leetcode Challenge/January/Koko Eating Bananas.cpp:3
Method
minEatingSpeed
(int[] piles, int h)
Leetcode Challenge/January/Java/Koko Eating Bananas.java:2
Method
minFallingPathSum
Leetcode Challenge/december2k22/Minimum Falling Path Sum.cpp:29
Method
minJumps
Leetcode Challenge/January/Jump Game IV.cpp:3
Method
minJumps
(int[] arr)
Leetcode Challenge/January/Java/Jump Game IV.java:2
Method
minOperations
Leetcode Challenge/June2k22/cpp/Minimum Operations to Reduce X to Zero.cpp:3
Method
minOperations
(self, nums: List[int])
Binary Search/Minimum Number of Operations to Make Array Continuous.py:2
Method
minRefuelStops
Leetcode Challenge/June/Minimum Number of Refueling Stops.cpp:3
Method
minRemoveToMakeValid
Leetcode Challenge/March/C++/Minimum Remove to Make Valid Parentheses.cpp:40
Method
minSetSize
(self, arr: List[int])
Leetcode July Challenge/Python/Reduce Array Size to The Half.py:3
Method
minSetSize
Leetcode July Challenge/C++/Reduce Array Size to The Half.cpp:6
Method
minSwaps
(self, nums: List[int])
Sliding window/Fixed-size sliding window/Minimum Swaps to Group All 1's Together II.py:2
Method
minimumAbsDifference
Leetcode Challenge/December/Minimum Absolute Difference.cpp:3
Method
minimumAverageDifference
Leetcode Challenge/december2k22/Minimum Average Difference.cpp:3
Method
minimumDeviation
Leetcode Challenge/February/cpp/Minimize Deviation in Array.cpp:3
Method
minimumDeviation
(int[] nums)
Leetcode Challenge/February/java/Minimize Deviation in Array.java:2
Method
minimumRecolors
(self, nums: str, k: int)
Sliding window/Fixed-size sliding window/Minimum Recolors to Get K Consecutive Black Blocks.py:2
Function
minimumSum
Dynamic Programming/Minimum Sum Subarray.cpp:21
Method
minimumTotal
Leetcode Challenge/June2k22/cpp/Triangle.cpp:3
Function
mirrorBinaryTree
Code : Mirror Send Feedback Mirror the given binary tree. That is, right child of every nodes should become left and left should become right. Alt tex
Mirror a BinaryTree.cpp:30
Method
missingNumber
(int[] nums)
Bit manipulation/Missing Number.java:2
Method
mostFrequentPrime
(self, mat: List[List[int]])
Matrix/Most Frequent Prime.py:4
Method
myAtoi
Leetcode Challenge/January/String to Integer (atoi).cpp:3
← previous
next →
501–600 of 807, ranked by callers