MCPcopy Create free account

hub / github.com/ctfu/Leetcode / functions

Functions771 in github.com/ctfu/Leetcode

MethodfindRelativeRanks
(int[] nums)
algorithm/relativeRanks.java:3
MethodfindRepeatedDnaSequences
(String s)
algorithm/repeatedDNASequence.java:2
MethodfindRestaurant
(String[] list1, String[] list2)
algorithm/minimumIndexSumOfTwoList.java:3
MethodfindRotateSteps
(String ring, String key)
algorithm/freedomTrail.java:4
MethodfindShortestWay
(int[][] maze, int[] ball, int[] hole)
algorithm/mazeIII.java:3
MethodfindStrobogrammatic
(int n)
algorithm/strobogrammaticNumberII.java:4
MethodfindSubsequences
(int[] nums)
algorithm/increasingSubsequence.java:5
MethodfindSubstring
(String s, String[] words)
algorithm/substringWithContatenationOfAllWords.java:2
MethodfindSubstringInWraproundString
(String p)
algorithm/uniqueSubstringsInWrapparoundString.java:2
MethodfindTarget
(TreeNode root, int k)
algorithm/2SumIV.java:32
MethodfindTargetSumWays
(int[] nums, int S)
algorithm/targetSum.java:3
MethodfindTheDifference
(String s, String t)
algorithm/findTheDifference.java:3
MethodfindTilt
(TreeNode root)
algorithm/binaryTreeTilt.java:27
MethodfindUnsortedSubarray
(int[] nums)
algorithm/shortestUnsortedContinuousSubarray.java:6
MethodfindWords
(String[] words)
algorithm/keyboardRow.java:3
MethodfindWords
(char[][] board, String[] words)
algorithm/wordSearchII.java:3
MethodfirstBadVersion
(int n)
algorithm/firstBadVersion.java:5
MethodfirstMissingPositive
(int[] nums)
algorithm/firstMissingPositive.java:7
MethodfirstUniqChar
(String s)
algorithm/firstUniqueCharacterInAString.java:3
MethodfizzBuzz
(int n)
algorithm/fizzBuzz.java:2
Methodflatten
(TreeNode root)
algorithm/flattenBinaryTreeToLinkedList.java:11
Methodfollow
Follower follows a followee. If the operation is invalid, it should be a no-op.
algorithm/designTwitter.java:44
MethodfourSum
(int[] nums, int target)
algorithm/4Sum.java:20
MethodfractionToDecimal
(int numerator, int denominator)
algorithm/fractionToRrcurringDecimal.java:5
MethodfrequencySort
(String s)
algorithm/sortCharacterByFrequency.java:3
MethodfullJustify
(String[] words, int maxWidth)
algorithm/testJustification.java:2
MethodgameOfLife
(int[][] board)
algorithm/gameOfLife.java:8
Methodgenerate
(int numRows)
algorithm/pascalTriangle.java:2
MethodgenerateMatrix
(int n)
algorithm/spiralMatrixII.java:3
MethodgeneratePalindromes
(String s)
algorithm/palindromPermutation.java:3
MethodgenerateParenthesis
(int n)
algorithm/generateParenthesis.java:2
MethodgeneratePossibleNextMoves
(String s)
algorithm/flipGame.java:5
MethodgenerateTrees
(int n)
algorithm/uniqueBinarySearchTreeII.java:3
Methodget
Provide a number which is not assigned to anyone. @return - Return an available number. Return -1 if none is available.
algorithm/designPhoneDictionary.java:19
MethodgetFactors
(int n)
algorithm/factorCombination.java:3
MethodgetHint
(String secret, String guess)
algorithm/bullsAndCows.java:3
MethodgetIntersectionNode
(ListNode headA, ListNode headB)
algorithm/intersectionOfTwoLinkedLists.java:4
MethodgetMin
()
algorithm/minStack.java:30
MethodgetMinimumDifference
(TreeNode root)
algorithm/minimumAbsoluteDifferenceInBST.java:4
MethodgetModifiedArray
(int length, int[][] updates)
algorithm/rangeAddition.java:5
MethodgetMoneyAmount
(int n)
algorithm/guessNumberHigherOrLowII.java:7
MethodgetNewsFeed
Retrieve the 10 most recent tweet ids in the user's news feed. Each item in the news feed must be posted by users who the user followed or by the user
algorithm/designTwitter.java:21
MethodgetPermutation
(int n, int k)
algorithm/permutationSequence.java:3
MethodgetRandom
Get a random element from the set.
algorithm/InsertDeleteGetRamdom.java:42
MethodgetRandom
Get a random element from the collection.
algorithm/InsertDeleteGetRamdom-AllowDuplicate.java:46
MethodgetRandom
Returns a random node's value.
algorithm/linkedListRandomNode.java:29
MethodgetRow
(int rowIndex)
algorithm/pascalTriangleII.java:2
MethodgetSkyline
(int[][] buildings)
algorithm/skylineProblem.java:6
MethodgetSum
(int a, int b)
algorithm/sumOfTwoInteger.java:13
MethodgrayCode
(int n)
algorithm/grayCode.java:4
MethodgroupAnagrams
(String[] strs)
algorithm/GroupAnagram.java:2
MethodgroupStrings
(String[] strings)
algorithm/groupShiftedStrings.java:4
MethodguessNumber
(int n)
algorithm/guessNumberHigherOrLower.java:8
MethodhIndex
(int[] citations)
algorithm/H-IndexII.java:3
MethodhIndex
(int[] citations)
algorithm/H-Index.java:5
MethodhammingWeight
(int n)
algorithm/numberOf1Bits.java:3
MethodhasCycle
(ListNode head)
algorithm/linkedListCycle.java:13
MethodhasNext
()
algorithm/flattenNestedListIterator.java:37
MethodhasNext
@return whether we have a next smallest number
algorithm/binarySearchTreeIterator.java:23
MethodhasPath
(int[][] maze, int[] start, int[] destination)
algorithm/theMaze.java:6
MethodhasPathSum
(TreeNode root, int sum)
algorithm/pathSum.java:25
MethodimageSmoother
(int[][] M)
algorithm/imageSmoother.java:2
MethodinorderPredecessor
(TreeNode root, TreeNode p)
algorithm/inorderSuccessorBST.java:20
MethodinorderSuccessor
(TreeNode root, TreeNode p)
algorithm/inorderSuccessorBST.java:8
MethodinorderSuccessor
(Node x)
algorithm/inorderSuccessorBSTII.java:18
Methodinsert
Inserts a value to the set. Returns true if the set did not already contain the specified element.
algorithm/InsertDeleteGetRamdom.java:15
Methodinsert
Inserts a word into the trie.
algorithm/implementTrie(prefix)Tree.java:12
Methodinsert
Inserts a value to the collection. Returns true if the collection did not already contain the specified element.
algorithm/InsertDeleteGetRamdom-AllowDuplicate.java:13
Methodinsert
(List<Interval> intervals, Interval newInterval)
algorithm/insertInterval.java:14
MethodinsertionSortList
(ListNode head)
algorithm/insertionSortLinkedList.java:3
MethodintToRoman
(int num)
algorithm/IntegerToRoman.java:2
Methodintersect
(int[] nums1, int[] nums2)
algorithm/intersectionOfTwoArraysII.java:3
Methodintersection
(int[] nums1, int[] nums2)
algorithm/intersectionOfTwoArrays.java:2
MethodinvertTree
(TreeNode root)
algorithm/invertBinaryTree.java:11
MethodisAdditiveNumber
(String num)
algorithm/additiveNumber.java:28
MethodisAnagram
(String s, String t)
algorithm/validAnagram.java:3
MethodisBalanced
(TreeNode root)
algorithm/balancedBinaryTree.java:33
MethodisHappy
(int n)
algorithm/happyNumber.java:3
MethodisInterleave
(String s1, String s2, String s3)
algorithm/interleavingString.java:10
MethodisIsomorphic
(String s, String t)
algorithm/isomorphicString.java:2
MethodisIsomorphic
(String s, String t)
algorithm/isomorphicString.java:40
MethodisMatch
(String s, String p)
algorithm/wildcardMatching.java:5
MethodisMatch
(String s, String p)
algorithm/regularExpressionMatching.java:13
MethodisNumber
(String s)
algorithm/validNumber.java:2
MethodisOneEditDistance
(String s, String t)
algorithm/oneEditDistance.java:6
MethodisPalindrome
(int x)
algorithm/palindromInteger.java:3
MethodisPalindrome
(ListNode head)
algorithm/palindromLinkedList.java:11
MethodisPalindrome
(String s)
algorithm/validPalindrome.java:4
MethodisPerfectSquare
(int num)
algorithm/validPerfectSquare.java:6
MethodisPowerOfFour
(int num)
algorithm/powerOfFour.java:3
MethodisPowerOfThree
(int n)
algorithm/powerOfThree.java:2
MethodisPowerOfThree
(int n)
algorithm/powerOfThree.java:21
MethodisPowerOfTwo
(int n)
algorithm/powerOfTwo.java:2
MethodisRectangleCover
(int[][] rectangles)
algorithm/perfectRectangel.java:7
MethodisReflected
(int[][] points)
algorithm/lineReflection.java:4
MethodisScramble
(String s1, String s2)
algorithm/scrambleString.java:4
MethodisStrobogrammatic
(String num)
algorithm/strobogrammaticNumber.java:6
MethodisSubtree
(TreeNode s, TreeNode t)
algorithm/subtreeOfAnotherTree.java:37
MethodisSymmetric
(TreeNode root)
algorithm/symmetricTree.java:44
MethodisUgly
(int num)
algorithm/uglyNumber.java:3
← previousnext →401–500 of 771, ranked by callers