MCPcopy Create free account

hub / github.com/corpsepiges/leetcode / functions

Functions1,433 in github.com/corpsepiges/leetcode

Functionis_valid_bst
@param {TreeNode} root @return {Boolean}
ruby/098. Validate Binary Search Tree.rb:12
Methodjump
(int[] nums)
Algorithms/045. Jump Game II/Solution.java:2
Methodjump
(int[] nums)
java/045. Jump Game II.java:2
MethodkSmallestPairs
(int[] nums1, int[] nums2, int k)
Algorithms/373. Find K Pairs with Smallest Sums/Solution.java:2
MethodkSmallestPairs
(int[] nums1, int[] nums2, int k)
java/373. Find K Pairs with Smallest Sums.java:2
MethodkthSmallest
:type root: TreeNode :type k: int :rtype: int
python/230. Kth Smallest Element in a BST.py:11
MethodkthSmallest
(int[][] matrix, int k)
Algorithms/378. Kth Smallest Element in a Sorted Matrix/Solution.java:2
MethodkthSmallest
:type root: TreeNode :type k: int :rtype: int
Algorithms/230. Kth Smallest Element in a BST/Solution.py:11
MethodkthSmallest
(TreeNode root, int k)
Algorithms/230. Kth Smallest Element in a BST/Solution.java:11
MethodkthSmallest
(int[][] matrix, int k)
java/378. Kth Smallest Element in a Sorted Matrix.java:2
MethodkthSmallest
(TreeNode root, int k)
java/230. Kth Smallest Element in a BST.java:11
Functionkth_smallest
@param {TreeNode} root @param {Integer} k @return {Integer}
Algorithms/230. Kth Smallest Element in a BST/Solution.rb:13
Functionkth_smallest
@param {TreeNode} root @param {Integer} k @return {Integer}
ruby/230. Kth Smallest Element in a BST.rb:13
MethodladderLength
(String beginWord, String endWord, Set<String> wordList)
Algorithms/127. Word Ladder/Solution.java:2
MethodladderLength
(String beginWord, String endWord, Set<String> wordList)
java/127. Word Ladder.java:2
MethodlargestDivisibleSubset
(int[] nums)
Algorithms/368. Largest Divisible Subset/Solution.java:2
MethodlargestDivisibleSubset
(int[] nums)
java/368. Largest Divisible Subset.java:2
MethodlargestNumber
:type nums: List[int] :rtype: str
python/179. Largest Number.py:4
MethodlargestNumber
:type nums: List[int] :rtype: str
Algorithms/179. Largest Number/Solution.py:4
MethodlargestNumber
(int[] nums)
Algorithms/179. Largest Number/Solution.java:2
MethodlargestNumber
(int[] nums)
java/179. Largest Number.java:2
MethodlastRemaining
(int n)
Algorithms/390. Elimination Game/Solution.java:2
MethodlastRemaining
(int n)
java/390. Elimination Game.java:2
MethodlengthLongestPath
(String input)
Algorithms/388. Longest Absolute File Path/Solution.java:13
MethodlengthLongestPath
(String input)
java/388. Longest Absolute File Path.java:13
MethodlengthOfLIS
(int[] nums)
Algorithms/300. Longest Increasing Subsequence/Solution.java:4
MethodlengthOfLIS
(int[] nums)
java/300. Longest Increasing Subsequence.java:4
MethodlengthOfLastWord
:type s: str :rtype: int
python/058. Length of Last Word.py:4
MethodlengthOfLastWord
:type s: str :rtype: int
Algorithms/058. Length of Last Word/Solution.py:4
MethodlengthOfLastWord
(String s)
Algorithms/058. Length of Last Word/Solution.java:2
MethodlengthOfLastWord
(String s)
java/058. Length of Last Word.java:2
MethodlengthOfLongestSubstring
(String s)
Algorithms/003. Longest Substring Without Repeating Characters/Solution.java:2
MethodlengthOfLongestSubstring
(String s)
java/003. Longest Substring Without Repeating Characters.java:2
MethodletterCombinations
:type digits: str :rtype: List[str]
python/017. Letter Combinations of a Phone Number.py:13
MethodletterCombinations
:type digits: str :rtype: List[str]
Algorithms/017. Letter Combinations of a Phone Number/Solution.py:13
MethodletterCombinations
(String digits)
Algorithms/017. Letter Combinations of a Phone Number/Solution.java:2
MethodletterCombinations
(String digits)
java/017. Letter Combinations of a Phone Number.java:2
MethodlevelOrder
:type root: TreeNode :rtype: List[List[int]]
python/102. Binary Tree Level Order Traversal.py:11
MethodlevelOrder
:type root: TreeNode :rtype: List[List[int]]
Algorithms/102. Binary Tree Level Order Traversal/Solution.py:11
MethodlevelOrder
(TreeNode root)
Algorithms/102. Binary Tree Level Order Traversal/Solution.java:11
MethodlevelOrder
(TreeNode root)
java/102. Binary Tree Level Order Traversal.java:11
MethodlevelOrderBottom
:type root: TreeNode :rtype: List[List[int]]
python/107. Binary Tree Level Order Traversal II.py:11
MethodlevelOrderBottom
:type root: TreeNode :rtype: List[List[int]]
Algorithms/107. Binary Tree Level Order Traversal II/Solution.py:11
MethodlevelOrderBottom
(TreeNode root)
Algorithms/107. Binary Tree Level Order Traversal II/Solution.java:11
MethodlevelOrderBottom
(TreeNode root)
java/107. Binary Tree Level Order Traversal II.java:11
MethodlexicalOrder
(int n)
Algorithms/386. Lexicographical Numbers/Solution.java:2
MethodlexicalOrder
(int n)
java/386. Lexicographical Numbers.java:2
MethodlongestCommonPrefix
:type strs: List[str] :rtype: str
python/014. Longest Common Prefix.py:4
MethodlongestCommonPrefix
:type strs: List[str] :rtype: str
Algorithms/014. Longest Common Prefix/Solution.py:4
MethodlongestCommonPrefix
(String[] strs)
Algorithms/014. Longest Common Prefix/Solution.java:2
MethodlongestCommonPrefix
(String[] strs)
java/014. Longest Common Prefix.java:2
MethodlongestConsecutive
(int[] nums)
Algorithms/128. Longest Consecutive Sequence/Solution.java:2
MethodlongestConsecutive
(int[] nums)
java/128. Longest Consecutive Sequence.java:2
MethodlongestIncreasingPath
:type matrix: List[List[int]] :rtype: int
python/329. Longest Increasing Path in a Matrix.py:8
MethodlongestIncreasingPath
:type matrix: List[List[int]] :rtype: int
Algorithms/329. Longest Increasing Path in a Matrix/Solution.py:8
MethodlongestIncreasingPath
(int[][] matrix)
Algorithms/329. Longest Increasing Path in a Matrix/Solution.java:7
MethodlongestIncreasingPath
(int[][] matrix)
java/329. Longest Increasing Path in a Matrix.java:7
MethodlongestPalindrome
(String s)
Algorithms/409. Longest Palindrome/Solution.java:2
MethodlongestPalindrome
(String s)
java/409. Longest Palindrome.java:2
MethodlongestSubstring
(String s, int k)
Algorithms/395. Longest Substring with At Least K Repeating Characters/Solution.java:2
MethodlongestSubstring
(String s, int k)
java/395. Longest Substring with At Least K Repeating Characters.java:2
MethodlongestValidParentheses
(String s)
Algorithms/032. Longest Valid Parentheses/Solution.java:2
MethodlongestValidParentheses
(String s)
java/032. Longest Valid Parentheses.java:2
MethodlowestCommonAncestor
:type root: TreeNode :type p: TreeNode :type q: TreeNode :rtype: TreeNode
python/236. Lowest Common Ancestor of a Binary Tree.py:11
MethodlowestCommonAncestor
:type root: TreeNode :type p: TreeNode :type q: TreeNode :rtype: TreeNode
python/235. Lowest Common Ancestor of a Binary Search Tree.py:11
MethodlowestCommonAncestor
:type root: TreeNode :type p: TreeNode :type q: TreeNode :rtype: TreeNode
Algorithms/236. Lowest Common Ancestor of a Binary Tree/Solution.py:11
MethodlowestCommonAncestor
(TreeNode root, TreeNode p, TreeNode q)
Algorithms/236. Lowest Common Ancestor of a Binary Tree/Solution.java:11
MethodlowestCommonAncestor
:type root: TreeNode :type p: TreeNode :type q: TreeNode :rtype: TreeNode
Algorithms/235. Lowest Common Ancestor of a Binary Search Tree/Solution.py:11
MethodlowestCommonAncestor
(TreeNode root, TreeNode p, TreeNode q)
Algorithms/235. Lowest Common Ancestor of a Binary Search Tree/Solution.java:11
MethodlowestCommonAncestor
(TreeNode root, TreeNode p, TreeNode q)
java/235. Lowest Common Ancestor of a Binary Search Tree.java:11
MethodlowestCommonAncestor
(TreeNode root, TreeNode p, TreeNode q)
java/236. Lowest Common Ancestor of a Binary Tree.java:11
MethodmajorityElement
:type nums: List[int] :rtype: int
python/169. Majority Element.py:4
MethodmajorityElement
(int[] nums)
Algorithms/229. Majority Element II/Solution.java:2
MethodmajorityElement
:type nums: List[int] :rtype: int
Algorithms/169. Majority Element/Solution.py:4
MethodmajorityElement
(int[] nums)
Algorithms/169. Majority Element/Solution.java:2
MethodmajorityElement
(int[] nums)
java/169. Majority Element.java:2
MethodmajorityElement
(int[] nums)
java/229. Majority Element II.java:2
MethodmaxArea
(int[] height)
Algorithms/011. Container With Most Water/Solution.java:2
MethodmaxArea
(int[] height)
java/011. Container With Most Water.java:2
MethodmaxDepth
:type root: TreeNode :rtype: int
python/104. Maximum Depth of Binary Tree.py:11
MethodmaxDepth
:type root: TreeNode :rtype: int
Algorithms/104. Maximum Depth of Binary Tree/Solution.py:11
MethodmaxDepth
(TreeNode root)
Algorithms/104. Maximum Depth of Binary Tree/Solution.java:11
MethodmaxDepth
(TreeNode root)
java/104. Maximum Depth of Binary Tree.java:11
MethodmaxEnvelopes
(int[][] envelopes)
Algorithms/354. Russian Doll Envelopes/Solution.java:2
MethodmaxEnvelopes
(int[][] envelopes)
Algorithms/354. Russian Doll Envelopes/GodSolution.java:5
MethodmaxEnvelopes
(int[][] envelopes)
java/354. Russian Doll Envelopes.java:2
MethodmaxPathSum
(TreeNode root)
Algorithms/124. Binary Tree Maximum Path Sum/Solution.java:13
MethodmaxPathSum
(TreeNode root)
java/124. Binary Tree Maximum Path Sum.java:13
MethodmaxPoints
(Point[] points)
Algorithms/149. Max Points on a Line/Solution.java:11
MethodmaxPoints
(Point[] points)
java/149. Max Points on a Line.java:11
MethodmaxProduct
:type words: List[str] :rtype: int
python/318. Maximum Product of Word Lengths.py:4
MethodmaxProduct
:type words: List[str] :rtype: int
Algorithms/318. Maximum Product of Word Lengths/Solution.py:4
MethodmaxProduct
(String[] words)
Algorithms/318. Maximum Product of Word Lengths/Solution.java:6
MethodmaxProduct
(int[] nums)
Algorithms/152. Maximum Product Subarray/Solution.java:2
MethodmaxProduct
(int[] nums)
java/152. Maximum Product Subarray.java:2
MethodmaxProduct
(String[] words)
java/318. Maximum Product of Word Lengths.java:6
MethodmaxProfit
(int[] prices)
Algorithms/123. Best Time to Buy and Sell Stock III/Solution.java:2
MethodmaxProfit
(int[] prices)
Algorithms/309. Best Time to Buy and Sell Stock with Cooldown/Solution.java:2
MethodmaxProfit
(int[] prices)
Algorithms/122. Best Time to Buy and Sell Stock II/Solution.java:2
MethodmaxProfit
(int[] prices)
Algorithms/121. Best Time to Buy and Sell Stock/Solution.java:2
← previousnext →901–1,000 of 1,433, ranked by callers