MCPcopy Create free account

hub / github.com/Ayu-99/Data-Structures / functions

Functions807 in github.com/Ayu-99/Data-Structures

Functionbubble_sort_LinkedList_itr
Bubble Sort LL.cpp:45
Methodbuild
Leetcode Challenge/June/Range Sum Query - Mutable.cpp:6
MethodbuildTree
Leetcode Challenge/June/Construct Binary Tree from Preorder and Inorder Traversal.cpp:52
MethodbuildTree_helper
Leetcode Challenge/June/Construct Binary Tree from Preorder and Inorder Traversal.cpp:15
FunctionbuyTicket
Buy the Ticket.cpp:35
MethodcalPoints
(self, ops: List[str])
Leetcode Challenge/April/Python/Baseball Game.py:2
MethodcalPoints
Leetcode Challenge/April/C++/Baseball Game.cpp:3
Methodcalculate
Leetcode Challenge/December/Basic Calculator II.cpp:4
MethodcalculateSoldierCount
Leetcode Challenge/March/C++/The K Weakest Rows in a Matrix.cpp:2
MethodcanCompleteCircuit
Leetcode Challenge/January/Gas Station.cpp:3
MethodcanEatInTime
Leetcode Challenge/January/Koko Eating Bananas.cpp:14
MethodcanPartition
Leetcode Challenge/December/Partition Equal Subset Sum.cpp:12
MethodcanPlaceFlowers
Leetcode Challenge/January/Can Place Flowers.cpp:3
MethodcanPlaceFlowers
(int[] flowerbed, int n)
Leetcode Challenge/January/Java/Can Place Flowers.java:2
MethodcanReach
(self, arr: List[int], start: int)
Leetcode Challenge/December/Jump Game III.py:2
Methodcandy
Leetcode Challenge/June/Candy.cpp:3
Methodcandy
(self, ratings: List[int])
Leetcode Challenge/June/Python/Candy.py:2
FunctioncandyStore
(self, candies,N,k)
Greedy/Shop in Candy Store.py:1
MethodcarPooling
Leetcode Challenge/January/Car Pooling.cpp:23
MethodchampagneTower
Leetcode Challenge/March/C++/Champagne Tower.cpp:3
MethodchampagneTower
(int poured, int query_row, int query_glass)
Leetcode Challenge/March/Java/Champagne Tower.java:2
Methodchange
(int index, int number)
Leetcode Feb challenge2k25/Design a Number Container System.java:10
FunctioncheckBalanced
Stacks and Queues/Balanced Parenthesis.cpp:17
MethodcheckIn
(self, id: int, stationName: str, t: int)
Leetcode Challenge/April/Python/Design Underground System.py:8
MethodcheckIn
Leetcode Challenge/April/C++/Design Underground System.cpp:8
MethodcheckIn
(int id, String stationName, int t)
Leetcode Challenge/April/Java/Design Underground System.java:7
MethodcheckInclusion
Leetcode Challenge/February/cpp/Permutation in String.cpp:4
MethodcheckInclusion
(String s1, String s2)
Leetcode Challenge/February/java/Permutation in String.java:2
MethodcheckOut
(self, id: int, stationName: str, t: int)
Leetcode Challenge/April/Python/Design Underground System.py:11
MethodcheckOut
Leetcode Challenge/April/C++/Design Underground System.cpp:12
MethodcheckOut
(int id, String stationName, int t)
Leetcode Challenge/April/Java/Design Underground System.java:11
FunctioncheckRedundantBrackets
Stacks and Queues/Assignment/Check Redundant Brackets.cpp:21
MethodcherryPickup
Leetcode Challenge/January/Cherry Pickup II.cpp:24
MethodclearDigits
(String s)
Leetcode Feb challenge2k25/Clear digits.java:2
MethodclimbStairs
Leetcode Challenge/december2k22/Climbing Stairs.cpp:11
FunctioncloneGraph
Leetcode Challenge/February/cpp/Clone Graph.cpp:22
Methodcombination2
Backtracking/C++/Combination Sum 2.cpp:10
MethodcombinationSum
Leetcode Challenge/February/cpp/Combination Sum.cpp:26
MethodcombinationSum
(int[] candidates, int target)
Leetcode Challenge/February/java/Combination Sum.java:1
MethodcombinationSum2
(self, candidates, target)
Backtracking/Python/Combination Sum 2.py:2
MethodcombinationSum2
Backtracking/C++/Combination Sum 2.cpp:3
MethodcombinationSum2
(int[] candidates, int target)
Backtracking/Java/Combination Sum 2.java:3
Functioncomp
comparator function for sorting 2D vector
Leetcode Challenge/January/Minimum Number of Arrows to Burst Balloons.cpp:2
Functioncompare
HashMaps/Sort strings lexicographically according to given sequence of characters.cpp:30
Functioncompare
Graphs/Kruskals.cpp:48
Functioncompare
Leetcode Challenge/June/Maximum Units on a Truck.cpp:1
MethodcompareList
Linked List/Palindrome Linked List.cpp:32
MethodcompareTo
(Tuple other)
Leetcode Challenge/March/Java/Maximum Frequency Stack.java:38
MethodcompareVersion
Leetcode Challenge/February/cpp/Compare Version Numbers.cpp:3
MethodcompareVersion
(self, version1: str, version2: str)
Leetcode Challenge/February/Python/Compare Version Numbers.py:2
MethodcompareVersion
(String version1, String version2)
Leetcode Challenge/February/java/Compare Version Numbers.java:2
Functioncompare_lists
Compare two linked list.cpp:1
Methodcompress
Strings/String Compression.cpp:3
Methodconnect
Leetcode Challenge/December/Populating Next Right Pointers in Each Node.cpp:21
Methodconstruct
Trees/Construct Quad Tree.cpp:94
FunctionconstructTree
Convert sorted array into BST.cpp:51
MethodcontainsDuplicate
(int[] nums)
Find Duplicate Number.java:23
MethodconvertBST
(self, root)
Leetcode Challenge/April/Python/Convert BST to Greater Tree.py:5
MethodconvertBST
Leetcode Challenge/April/C++/Convert BST to Greater Tree.cpp:16
MethodconvertBST
(TreeNode root)
Leetcode Challenge/April/Java/Convert BST to Greater Tree.java:4
MethodcopyRandomList
(self, head: 'Optional[Node]')
Leetcode Challenge/March/Python/Copy List with Random Pointer.py:11
MethodcopyRandomList
Leetcode Challenge/March/C++/Copy List with Random Pointer.cpp:19
MethodcopyRandomList
(Node head)
Leetcode Challenge/March/Java/Copy List with Random Pointer.java:17
MethodcountBadPairs
(int[] nums)
Leetcode Feb challenge2k25/Count Number of Bad Pairs.java:3
MethodcountBits
(self, num: int)
Leetcode Challenge/March/Python/Counting Bits.py:2
MethodcountBits
Leetcode Challenge/March/C++/Counting Bits.cpp:29
MethodcountBits
(int n)
Leetcode Challenge/March/Java/Counting Bits.java:2
FunctioncountBracketReversals
Stacks and Queues/Assignment/Minimum Bracket Reversal.cpp:20
MethodcountDistinct
(self, arr, k)
Sliding window/Fixed-size sliding window/Count distinct elements in every window.py:3
MethodcountOrders
(self, n: int)
Leetcode Challenge/March/Python/Count All Valid Pickup and Delivery Options.py:2
MethodcountOrders
Leetcode Challenge/March/C++/Count All Valid Pickup and Delivery Options.cpp:3
MethodcountOrders
(int n)
Leetcode Challenge/March/Java/Count All Valid Pickup and Delivery Options.java:2
MethodcountPrefixSuffixPairs
(self, words: List[str])
Strings/Count Prefix and Suffix Pairs I.py:2
MethodcountSmaller
Leetcode Challenge/June/Count of Smaller Numbers After Self.cpp:52
FunctioncountStepsToOne
Dynamic Programming/Min steps to 1.cpp:32
FunctioncountSubIslands
(self, grid1: List[List[int]], grid2: List[List[int]])
Graphs/Count Sub Islands.py:2
FunctioncountVowelPermutation
(self, n: int)
Leetcode July Challenge/Python/Count Vowels Permutation.py:1
MethodcountVowelPermutation
Leetcode July Challenge/C++/Count Vowels Permutation.cpp:45
MethodcountVowelStrings
Leetcode Challenge/May/C++/Count Sorted Vowel Strings.cpp:28
MethodcustomMin
Leetcode Challenge/december2k22/Minimum Falling Path Sum.cpp:26
MethodcustomSortString
(self, order: str, s: str)
Leetcode July Challenge/Python/Custom Sort String.py:3
MethodcustomSortString
Leetcode July Challenge/C++/Custom Sort String.cpp:3
MethoddailyTemperatures
Leetcode Challenge/december2k22/Daily Temperatures.cpp:3
MethoddecodeString
(self, s: str)
Leetcode Challenge/December/Decode String.py:2
Methoddecrypt
(self, code: List[int], k: int)
Sliding window/Fixed-size sliding window/Defuse the Bomb.py:17
MethoddeleteAndEarn
Leetcode Challenge/March/C++/Delete and Earn.cpp:3
MethoddeleteAndEarn
(int[] nums)
Leetcode Challenge/March/Java/Delete and Earn.java:2
MethoddeleteAtIndex
Delete the index-th node in the linked list, if the index is valid. */
Linked List/Design Linked List.cpp:101
MethoddeleteDuplicates
Leetcode Challenge/March/C++/Remove Duplicates from Sorted List II.cpp:13
MethoddeleteDuplicates
(ListNode head)
Leetcode Challenge/March/Java/Remove Duplicates from Sorted List II.java:12
MethoddeleteNode
:type node: ListNode :rtype: void Do not return anything, modify node in-place instead.
Linked List/Delete Node in a Linked List.py:8
Methoddequeue
Stacks and Queues/Queue using LL.cpp:127
MethoddetectCapitalUse
Leetcode Challenge/January/Detect Capital.cpp:3
MethoddetectCycle
Leetcode Challenge/January/Linked List Cycle II.cpp:14
MethoddetectCycle
(ListNode head)
Leetcode Challenge/January/Java/Linked List Cycle II.java:1
Methoddfs
Leetcode Challenge/december2k22/Maximum Product of Splitted Binary Tree.cpp:21
Methoddfs
Leetcode Challenge/december2k22/Binary Tree Maximum Path Sum.cpp:15
Methoddfs
Leetcode Challenge/december2k22/Find if Path Exists in Graph.cpp:4
Methoddfs
Leetcode Challenge/december2k22/Maximum Difference Between Node and Ancestor.cpp:19
Methoddfs
Leetcode Challenge/June/Max Area of Island.cpp:13
← previousnext →201–300 of 807, ranked by callers