Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SHY-Corp/LeetCode-Solutions
/ functions
Functions
846 in github.com/SHY-Corp/LeetCode-Solutions
⨍
Functions
846
◇
Types & classes
583
Method
invertTree
(self, root: TreeNode)
Python/226. InvertBinaryTree.py:8
Method
isAlienSorted
(self, words: List[str], order: str)
Python/953. VerifyingAnAlienDictionary.py:9
Method
isAlienSorted
C++/953. VerifyingAnAlienDictionary.cpp:10
Method
isAnagram
C++/242.ValidAnagram.cpp:8
Method
isArmstrong
C++/1134.ArmstrongNumber.cpp:13
Method
isBipartite
(self, graph: List[List[int]])
Python/785. IsGraphBipartite.py:16
Method
isBipartite
C++/785.IsGraphBipartite.cpp:33
Method
isHappy
C++/202. HappyNumber.cpp:33
Method
isIsomorphic
(self, s1: str, s2: str)
Python/205.IsomorphicStrings.py:4
Method
isLongPressedName
C++/925. Long Pressed Name.cpp:9
Method
isMajority
Function to check if the candidate occurs more than n/2 times */
C++/169. Majority_Element.cpp:34
Method
isMatch
(self,s ,p)
Python/44. WildcardMatching.py:13
Method
isMatch
C++/44. WildcardMatching.cpp:59
Method
isMonotonic
C++/896. MonotonicArray.cpp:3
Method
isNumber
C++/65. ValidNumber.cpp:4
Function
isPalindrome
C++/125. ValidPalindrome.cpp:4
Method
isPalindrome
:type x: int :rtype: bool
Python/9.Palindrome Number.py:4
Method
isPalindrome
C++/9. Palindrome Number.cpp:6
Method
isPathCrossing
C++/1496.PathCrossing.cpp:6
Method
isPerfectSquare
(self, num)
Python/367.ValidPerfectSquare.py:3
Method
isPerfectSquare
C++/367. ValidPerfectSquare.cpp:37
Method
isPowerOfFour
C++/342.PowerOfFour.cpp:5
Method
isPowerOfThree
C++/326. PowerOfThree.cpp:12
Method
isPowerOfThree01
C++/326. PowerOfThree.cpp:38
Method
isPowerOfThree02
C++/326. PowerOfThree.cpp:24
Method
isPowerOfThree03
C++/326. PowerOfThree.cpp:20
Method
isPowerOfThree_loop
C++/326. PowerOfThree.cpp:44
Method
isPowerOfThree_recursive
C++/326. PowerOfThree.cpp:52
Method
isPowerOfTwo
C++/231. PowerOfTwo.cpp:22
Method
isRobotBounded
(String ins)
Java/1041. RobotBoundedInCircle.java:13
Method
isSafe
C++/36. ValidSudoku.cpp:25
Method
isScramble
C++/87. ScrambleString.cpp:34
Method
isSubsequence
C++/392. IsSubsequence.cpp:6
Method
isSubtree
(self, s: TreeNode, t: TreeNode)
Python/572. SubtreeOfAnotherTree.py:49
Method
isSubtree
(TreeNode s, TreeNode t)
Java/572. SubtreeOfAnotherTree.java:22
Method
isSymmetric
C++/101. SymmetricTree.cpp:42
Method
isSymmetric
(TreeNode root)
Java/101. SymmetricTree.java:45
Method
isToeplitzMatrix
(self, matrix: List[List[int]])
Python/766. ToeplitzMatrix.py:5
Method
isToeplitzMatrix
C++/766. Toeplitz Matrix.cpp:11
Method
isUgly
(self, num)
Python/263.UglyNumbers.py:3
Method
isValid
(self, s)
Python/20. ValidParentheses.py:17
Method
isValid
(r, c)
Python/51. N-Queens.py:48
Method
isValid
C++/20. ValidParenthesis.cpp:56
Method
isValid
(String s)
Java/20. ValidParentheses.java:54
Method
isValidSudoku
C++/36. ValidSudoku.cpp:5
Method
is_leaf
C++/543. DiameterOfBinaryTree.cpp:29
Method
judgeSquareSum
C++/633. SumOfSquareNumbers.cpp:7
Method
kClosest
C++/973. KClosestPointstoOrigin.cpp:11
Method
kWeakestRows
C++/1337.TheKWeakestRowsInAMatrix.cpp:3
Method
kidsWithCandies
C++/1431. KidsWithTheGreatesNumberOfCandies.cpp:10
Method
kthFactor
C++/1492.kthfactor.cpp:69
Method
kthSmallest
:type root: TreeNode :type k: int :rtype: int
Python/230.KthSmallestElementinaBST.py:18
Method
kthSmallest
C++/230.KthSmallesElementInABST.cpp:41
Method
ladderLength
C++/127. Word Ladder.cpp:17
Method
largestDivisibleSubset
(self, nums: List[int])
Python/368. LargestDivisibleSubset.py:3
Method
largestMultipleOfThree
C++/1363. LargestMultipleOfThree.cpp:53
Method
largestNumber
C++/179.Largest Number.cpp:11
Method
largestPerimeter
C++/976.LargestPerimeterTriangle.cpp:3
Method
largestRectangleArea
C++/84. LargestRectangleInHistogram.cpp:6
Method
largestRectangleArea
(int[] heights)
Java/84. LargestRectangleInHistogram.java:6
Method
largestTimeFromDigits
C++/949. Largest Time for Given Digits.cpp:9
Method
largestTriangleArea
C++/812. LargestTriangleArea.cpp:9
Method
lastStoneWeight
C++/1046. Last Stone Weight.cpp:18
Method
lastStoneWeightII
C++/1049. LastStoneWeightII.cpp:15
Method
lcaDeepestLeaves
C++/1123. Lowest Common Ancestor of Deepest Leaves.cpp:28
Method
leastInterval
C++/621. Task Scheduler.cpp:20
Method
leastInterval
(char[] tasks, int n)
Java/621. Task Scheduler.java:2
Method
leave
C++/855. ExamRoom.cpp:79
Method
lemonadeChange
C++/860. LemonadeChange.cpp:12
Method
lengthOfLIS
C++/300. LongestIncreasingSubsequence.cpp:27
Method
lengthOfLastWord
(self, s: str)
Python/58. length_of_last_word.py:24
Method
letterCasePermutation
(String S)
Java/784.LetterCasePermutation.java:32
Method
letterCombinations
:type digits: str :rtype: List[str]
Python/17. LetterCombinationsOfAPhoneNumber.py:2
Method
letterCombinations
C++/17. LetterCombinationsOfAPhoneNumber.cpp:31
Method
levelOrder
C++/102. BinaryTreeLevelOrderTraversal.cpp:39
Method
levelOrderBottom
C++/107. BinaryTreeLevelOrderTraversalII.cpp:50
Method
longestCommonPrefix
:type strs: List[str] :rtype: str
Python/14. LongestCommonPrefix.py:6
Method
longestCommonPrefix
C++/14. LongestCommonPrefix.cpp:8
Method
longestCommonPrefix
(String[] strs)
Java/14. longestCommonPrefix.java:33
Method
longestCommonSubsequence
(self, text1: str, text2: str)
Python/1143. LongestCommonSubsequence.py:38
Method
longestConsecutive
C++/128. LongestConsecutiveSequence.cpp:15
Method
longestMountain
C++/845. LongestMountainInArray.cpp:32
Method
longestPalindrome
C++/5. LongestPalindromicSubstring.cpp:3
Method
longestPalindrome
(String s)
Java/5.LongestPalindromicSubstring.java:11
Method
longestPalindromeSubseq
(String s)
Java/516. Longest Palindromic Subsequence.java:22
Method
longestSubstring
C++/395. Longest Substring with At Least K Repeating Characters.cpp:12
Method
longestValidParentheses
C++/32. LongestValidParenthesis.cpp:7
Method
longestWord
C++/720.LongestWordInDictionary.cpp:18
Method
lowestCommonAncestor
C++/235. Lowest Common Ancestor of a Binary Search Tree.cpp:14
Method
lowestCommonAncestor
C++/236. LowestCommonAncestorOfABinaryTree.cpp:26
Function
main
Driver code
C++/225. Implement Stack Using Queues.cpp:68
Function
main
Driver function
C++/3. LongestSubstringWithoutRepeatingCharacters.cpp:83
Function
main
C++/10. Regular Expression Matching.cpp:46
Function
main
C++/7. Reverse_Integer.cpp:22
Function
main
C++/anagram.cpp:4
Function
main
Driver code
C++/232. Implement Queue Using Stacks.cpp:47
Function
main
Driver code
C++/1365. SmallestNumberThanCurrentNumber.cpp:64
Function
main
C++/49. Group_Anagrams.cpp:42
Function
main
C++/103. BinaryTreeZigzagLevelOrderTraversal.cpp:54
Function
main
C++/1329.SortTheMatrixDiagonally.cpp:43
← previous
next →
401–500 of 846, ranked by callers