MCPcopy Create free account

hub / github.com/HuberTRoy/leetCode / functions

Functions332 in github.com/HuberTRoy/leetCode

MethodsortColors
:type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead.
Array/SortColors.py:56
MethodsortList
:type head: ListNode :rtype: ListNode
Sorted/SortList.py:119
MethodsortedArrayToBST
:type nums: List[int] :rtype: TreeNode
Tree/ConvertSortedArrayToBinarySearchTree.py:54
MethodsortedListToBST
:type head: ListNode :rtype: TreeNode
Tree/ConvertSortedListToBinarySearchTree.py:115
MethodspiralOrder
:type matrix: List[List[int]] :rtype: List[int]
Array/SpiralMatrix.py:121
MethodstartsWith
Returns if there is any word in the trie that starts with the given prefix. :type prefix: str :rtype: bool
Tree/Trie.py:91
MethodstrStr
:type haystack: str :type needle: str :rtype: int
String/ImplementStrStr().py:43
MethodsubarrayBitwiseORs
:type A: List[int] :rtype: int
DP/BitwiseORsOfSubarray.py:70
MethodsubarraySum
:type nums: List[int] :type k: int :rtype: int
Array/SubarraySumEqualsK.py:27
Methodsubsets
:type nums: List[int] :rtype: List[List[int]]
Backtracking/subsets.py:32
MethodsumNumbers
:type root: TreeNode :rtype: int
Tree/SumRootToLeafNumbers.py:53
MethodsumSubarrayMins
:type A: List[int] :rtype: int
Array/SumOfSubarrayMinimums.py:113
MethodsurfaceArea
:type grid: List[List[int]] :rtype: int
Array/SurfaceAreaOf3DShapes.py:51
MethodthirdMax
:type nums: List[int] :rtype: int
Array/ThirdMaximumNumbers.py:42
MethodthreeSumMulti
:type A: List[int] :type target: int :rtype: int
Array/3SumWithMultiplicity.py:81
MethodtoLowerCase
:type str: str :rtype: str
String/ToLowerCase.py:19
MethodtopKFrequent
:type nums: List[int] :type k: int :rtype: List[int]
Array/TopKFrequentElements.py:29
MethodtotalFruit
:type tree: List[int] :rtype: int
Array/FruitIntoBaskets.py:96
Methodtranslate_o_to_e
(x, y)
Array/SurroundedRegions.py:81
Methodtranslate_pattern
(word)
String/FindAndReplacePattern.py:51
Methodtrap
:type height: List[int] :rtype: int
Stack/TrappingRainWater.py:86
FunctiontwoSum
(nums, target)
Array/twoSum.js:7
MethodtwoSum
(self, nums, target)
Array/two_sum.py:45
MethodtwoSum
:type numbers: List[int] :type target: int :rtype: List[int]
Array/TwoSumIIAlreadySorted.py:24
MethoduniquePaths
:type m: int :type n: int :rtype: int
DP/UniquePath.py:54
MethoduniquePathsWithObstacles
:type obstacleGrid: List[List[int]] :rtype: int
DP/UniquePathII.py:84
Methodup
(x, y)
Array/SpiralMatrixII.py:97
MethodwiggleSort
:type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead.
Sorted/WiggleSortII.py:59
MethodwordBreak
:type s: str :type wordDict: List[str] :rtype: bool
DP/WordBreak.py:57
MethodwordPattern
:type pattern: str :type str: str :rtype: bool
String/WordPattern.py:36
MethodwordSubsets
:type A: List[str] :type B: List[str] :rtype: List[str]
Array/WordSubsets.py:62
MethodzigzagLevelOrder
:type root: TreeNode :rtype: List[List[int]]
BFS/BinaryTreeZigzagLevelOrderTraversal.py:40
← previous301–332 of 332, ranked by callers