MCPcopy Create free account

hub / github.com/corpsepiges/leetcode / functions

Functions1,433 in github.com/corpsepiges/leetcode

Methodintersect
(int[] nums1, int[] nums2)
java/350. Intersection of Two Arrays II.java:2
Methodintersection
(int[] nums1, int[] nums2)
Algorithms/349. Intersection of Two Arrays/Solution.java:13
Methodintersection
(int[] nums1, int[] nums2)
java/349. Intersection of Two Arrays.java:13
MethodinvertTree
:type root: TreeNode :rtype: TreeNode
python/226. Invert Binary Tree.py:11
MethodinvertTree
:type root: TreeNode :rtype: TreeNode
Algorithms/226. Invert Binary Tree/Solution.py:11
MethodinvertTree
(TreeNode root)
Algorithms/226. Invert Binary Tree/Solution.java:11
MethodinvertTree
(TreeNode root)
java/226. Invert Binary Tree.java:11
Functioninvert_tree
@param {TreeNode} root @return {TreeNode}
Algorithms/226. Invert Binary Tree/Solution.rb:12
Functioninvert_tree
@param {TreeNode} root @return {TreeNode}
ruby/226. Invert Binary Tree.rb:12
MethodisAdditiveNumber
:type num: str :rtype: bool
python/306. Additive Number.py:4
MethodisAdditiveNumber
:type num: str :rtype: bool
Algorithms/306. Additive Number/Solution.py:4
MethodisAdditiveNumber
(String num)
Algorithms/306. Additive Number/Solution.java:2
MethodisAdditiveNumber
(String num)
java/306. Additive Number.java:2
MethodisAnagram
:type s: str :type t: str :rtype: bool
python/242. Valid Anagram.py:4
MethodisAnagram
:type s: str :type t: str :rtype: bool
Algorithms/242. Valid Anagram/Solution.py:4
MethodisAnagram
(String s, String t)
Algorithms/242. Valid Anagram/Solution.java:2
MethodisAnagram
(String s, String t)
java/242. Valid Anagram.java:2
MethodisBalanced
:type root: TreeNode :rtype: bool
python/110. Balanced Binary Tree.py:11
MethodisBalanced
:type root: TreeNode :rtype: bool
Algorithms/110. Balanced Binary Tree/Solution.py:11
MethodisBalanced
(TreeNode root)
Algorithms/110. Balanced Binary Tree/Solution.java:11
MethodisBalanced
(TreeNode root)
java/110. Balanced Binary Tree.java:11
MethodisHappy
:type n: int :rtype: bool
python/202. Happy Number.py:4
MethodisHappy
:type n: int :rtype: bool
Algorithms/202. Happy Number/Solution.py:4
MethodisHappy
(int n)
Algorithms/202. Happy Number/Solution.java:2
MethodisHappy
(int n)
java/202. Happy Number.java:2
MethodisInterleave
:type s1: str :type s2: str :type s3: str :rtype: bool
python/097. Interleaving String.py:4
MethodisInterleave
:type s1: str :type s2: str :type s3: str :rtype: bool
Algorithms/097. Interleaving String/Solution.py:4
MethodisInterleave
(String s1, String s2, String s3)
Algorithms/097. Interleaving String/Solution.java:2
MethodisInterleave
(String s1, String s2, String s3)
java/097. Interleaving String.java:2
MethodisIsomorphic
:type s: str :type t: str :rtype: bool
python/205. Isomorphic Strings.py:4
MethodisIsomorphic
:type s: str :type t: str :rtype: bool
Algorithms/205. Isomorphic Strings/Solution.py:4
MethodisIsomorphic
(String s, String t)
Algorithms/205. Isomorphic Strings/Solution.java:2
MethodisIsomorphic
(String s, String t)
java/205. Isomorphic Strings.java:2
MethodisMatch
(String s, String p)
Algorithms/010. Regular Expression Matching/Solution.java:2
MethodisMatch
(String s, String p)
java/010. Regular Expression Matching.java:2
MethodisOneEditDistance
(String s, String t)
Algorithms/161. One Edit Distance/Solution.java:2
MethodisOneEditDistance
(String s, String t)
java/161. One Edit Distance.java:2
MethodisPalindrome
:type x: int :rtype: bool
python/009. Palindrome Number.py:4
MethodisPalindrome
(String s)
Algorithms/125. Valid Palindrome/Solution.java:2
MethodisPalindrome
(ListNode head)
Algorithms/234. Palindrome Linked List/Solution.java:10
MethodisPalindrome
:type x: int :rtype: bool
Algorithms/009. Palindrome Number/Solution.py:4
MethodisPalindrome
(int x)
Algorithms/009. Palindrome Number/Solution.java:2
MethodisPalindrome
(int x)
java/009. Palindrome Number.java:2
MethodisPalindrome
(String s)
java/125. Valid Palindrome.java:2
MethodisPalindrome
(ListNode head)
java/234. Palindrome Linked List.java:10
MethodisPerfectSquare
(int num)
Algorithms/367. Valid Perfect Square/Solution.java:2
MethodisPerfectSquare
(int num)
java/367. Valid Perfect Square.java:2
MethodisPowerOfFour
:type num: int :rtype: bool
python/342. Power of Four.py:6
MethodisPowerOfFour
:type num: int :rtype: bool
Algorithms/342. Power of Four/Solution.py:6
MethodisPowerOfFour
(int num)
Algorithms/342. Power of Four/Solution.java:2
MethodisPowerOfFour
(int num)
java/342. Power of Four.java:2
MethodisPowerOfThree
:type n: int :rtype: bool
python/326. Power of Three.py:6
MethodisPowerOfThree
:type n: int :rtype: bool
Algorithms/326. Power of Three/Solution.py:6
MethodisPowerOfThree
(int n)
Algorithms/326. Power of Three/Solution.java:2
MethodisPowerOfThree
(int n)
java/326. Power of Three.java:2
MethodisPowerOfTwo
:type n: int :rtype: bool
python/231. Power of Two.py:4
MethodisPowerOfTwo
:type n: int :rtype: bool
Algorithms/231. Power of Two/Solution.py:4
MethodisPowerOfTwo
(int n)
Algorithms/231. Power of Two/Solution.java:2
MethodisPowerOfTwo
(int n)
java/231. Power of Two.java:2
MethodisRectangleCover
(int[][] rectangles)
Algorithms/391. Perfect Rectangle/Solution.java:2
MethodisRectangleCover
(int[][] rectangles)
java/391. Perfect Rectangle.java:2
MethodisSameTree
:type p: TreeNode :type q: TreeNode :rtype: bool
python/100. Same Tree.py:11
MethodisSameTree
:type p: TreeNode :type q: TreeNode :rtype: bool
Algorithms/100. Same Tree/Solution.py:11
MethodisSameTree
(TreeNode p, TreeNode q)
Algorithms/100. Same Tree/Solution.java:11
MethodisSameTree
(TreeNode p, TreeNode q)
java/100. Same Tree.java:11
MethodisScramble
:type s1: str :type s2: str :rtype: bool
python/087. Scramble String.py:4
MethodisScramble
:type s1: str :type s2: str :rtype: bool
Algorithms/087. Scramble String/Solution.py:4
MethodisScramble
(String s1, String s2)
Algorithms/087. Scramble String/Solution.java:3
MethodisScramble
(String s1, String s2)
java/087. Scramble String.java:3
MethodisSubsequence
(String s, String t)
Algorithms/392. Is Subsequence/Solution.java:2
MethodisSubsequence
(String s, String t)
java/392. Is Subsequence.java:2
MethodisSymmetric
:type root: TreeNode :rtype: bool
python/101. Symmetric Tree.py:11
MethodisSymmetric
:type root: TreeNode :rtype: bool
Algorithms/101. Symmetric Tree/Solution.py:11
MethodisSymmetric
(TreeNode root)
Algorithms/101. Symmetric Tree/Solution.java:11
MethodisSymmetric
(TreeNode root)
java/101. Symmetric Tree.java:11
MethodisUgly
:type num: int :rtype: bool
python/263. Ugly Number.py:4
MethodisUgly
:type num: int :rtype: bool
Algorithms/263. Ugly Number/Solution.py:4
MethodisUgly
(int num)
Algorithms/263. Ugly Number/Solution.java:2
MethodisUgly
(int num)
java/263. Ugly Number.java:2
MethodisValid
(String s)
Algorithms/020. Valid Parentheses/Solution.java:2
MethodisValid
(String s)
java/020. Valid Parentheses.java:2
MethodisValidBST
:type root: TreeNode :rtype: bool
python/098. Validate Binary Search Tree.py:11
MethodisValidBST
:type root: TreeNode :rtype: bool
Algorithms/098. Validate Binary Search Tree/Solution.py:11
MethodisValidBST
(TreeNode root)
Algorithms/098. Validate Binary Search Tree/Solution.java:11
MethodisValidBST
(TreeNode root)
java/098. Validate Binary Search Tree.java:11
MethodisValidSerialization
:type preorder: str :rtype: bool
python/331. Verify Preorder Serialization of a Binary Tree.py:4
MethodisValidSerialization
:type preorder: str :rtype: bool
Algorithms/331. Verify Preorder Serialization of a Binary Tree/Solution.py:4
MethodisValidSerialization
(String preorder)
Algorithms/331. Verify Preorder Serialization of a Binary Tree/Solution.java:2
MethodisValidSerialization
(String preorder)
java/331. Verify Preorder Serialization of a Binary Tree.java:2
MethodisValidSudoku
(char[][] board)
Algorithms/036. Valid Sudoku/Solution.java:2
MethodisValidSudoku
(char[][] board)
java/036. Valid Sudoku.java:2
Functionis_balanced
@param {TreeNode} root @return {Boolean}
Algorithms/110. Balanced Binary Tree/Solution.rb:12
Functionis_balanced
@param {TreeNode} root @return {Boolean}
ruby/110. Balanced Binary Tree.rb:12
Functionis_palindrome
@param {Integer} x @return {Boolean}
Algorithms/009. Palindrome Number/Solution.rb:3
Functionis_palindrome
@param {Integer} x @return {Boolean}
ruby/009. Palindrome Number.rb:3
Functionis_same_tree
@param {TreeNode} p @param {TreeNode} q @return {Boolean}
Algorithms/100. Same Tree/Solution.rb:13
Functionis_same_tree
@param {TreeNode} p @param {TreeNode} q @return {Boolean}
ruby/100. Same Tree.rb:13
Functionis_symmetric
@param {TreeNode} root @return {Boolean}
Algorithms/101. Symmetric Tree/Solution.rb:12
Functionis_symmetric
@param {TreeNode} root @return {Boolean}
ruby/101. Symmetric Tree.rb:12
Functionis_valid_bst
@param {TreeNode} root @return {Boolean}
Algorithms/098. Validate Binary Search Tree/Solution.rb:12
← previousnext →801–900 of 1,433, ranked by callers