MCPcopy Create free account

hub / github.com/ctfu/Leetcode / functions

Functions771 in github.com/ctfu/Leetcode

Methodnext
()
algorithm/zigZagIterator.java:16
Methodnext
(int val)
algorithm/movingAverage.java:13
Methodnext
()
algorithm/flattenNestedListIterator.java:32
Methodnext
()
algorithm/binarySearchTreeIterator.java:29
MethodnextClosestTime
(String time)
algorithm/nextClosestTime.java:2
MethodnextGreaterElement
(int[] findNums, int[] nums)
algorithm/nextGreaterElementI.java:6
MethodnextGreaterElement
(int n)
algorithm/nextGreaterElementIII.java:5
MethodnextGreaterElements
(int[] nums)
algorithm/nextGreaterElementII.java:6
MethodnextPermutation
(int[] nums)
algorithm/nextPermutation.java:9
MethodnthUglyNumber
(int n)
algorithm/uglyNumberII.java:5
MethodnumDecodings
(String s)
algorithm/decodeWays.java:8
MethodnumDistinct
(String s, String t)
algorithm/distinctSubsequence.java:5
MethodnumIslands
(char[][] grid)
algorithm/numberOfIsland.java:4
MethodnumIslands2
(int m, int n, int[][] positions)
algorithm/numberOfIslandsII.java:7
MethodnumSquares
(int n)
algorithm/perfectSquare.java:5
MethodnumTrees
(int n)
algorithm/uniqueBinarySearchTree.java:7
MethodnumWays
(int n, int k)
algorithm/paintFence.java:3
MethodnumberOfArithmeticSlices
(int[] A)
algorithm/arithmeticSlicesII.java:25
MethodnumberOfArithmeticSlices
(int[] A)
algorithm/arithmeticSlices.java:15
MethodnumberOfBoomerangs
(int[][] points)
algorithm/numberOfBoomerangs.java:6
MethodnumberToWords
(int num)
algorithm/integerToEnglishWords.java:10
MethododdEvenList
(ListNode head)
algorithm/oddEvenLinkedList.java:14
MethodoriginalDigits
(String s)
algorithm/reconstructOriginalDigitFromEnglish.java:14
MethodouterTrees
(Point[] points)
algorithm/erectTheFence.java:23
MethodpacificAtlantic
(int[][] matrix)
algorithm/pacificAtlanticWaterFlow.java:4
MethodpalindromePairs
(String[] words)
algorithm/palindromPair.java:6
MethodparseTernary
(String expression)
algorithm/tenaryExpression.java:6
Methodpartition
(String s)
algorithm/palindromPartition.java:3
Methodpartition
(ListNode head, int x)
algorithm/partitionList.java:5
Methodpeek
Get the front element.
algorithm/implementQueueUsingStack.java:27
MethodplusOne
(ListNode head)
algorithm/plusOneLinkedList.java:3
MethodplusOne
(int[] digits)
algorithm/plusOne.java:3
Methodpop
()
algorithm/implementStackUsingQueue.java:13
MethodpostTweet
Compose a new tweet.
algorithm/designTwitter.java:13
MethodpostorderTraversal
(TreeNode root)
algorithm/binaryTreePostorderTraversal.java:20
MethodproductExceptSelf
(int[] nums)
algorithm/productOfArrayExceptSelf.java:4
Methodpush
(int x)
algorithm/implementStackUsingQueue.java:4
MethodrangeBitwiseAnd
(int m, int n)
algorithm/bitwiseANDOfNumberRange.java:18
Methodread
@param buf Destination buffer @param n Maximum number of characters to read @return The number of characters read
algorithm/readNCharactersGivenRead4II.java:27
Methodread
@param buf Destination buffer @param n Maximum number of characters to read @return The number of characters read
algorithm/readNCharactersGivenRead4.java:10
MethodreadBinaryWatch
(int num)
algorithm/binaryWatch.java:2
MethodrearrangeString
(String s, int k)
algorithm/rearrangeString.java:5
MethodreconstructQueue
(int[][] people)
algorithm/queueConstructionByHeight.java:8
MethodrecoverTree
(TreeNode root)
algorithm/recoverBinarySearchTree.java:8
Methodrelease
Recycle or release a number.
algorithm/designPhoneDictionary.java:39
Methodremove
Removes a value from the set. Returns true if the set contained the specified element.
algorithm/InsertDeleteGetRamdom.java:25
Methodremove
Removes a value from the collection. Returns true if the collection contained the specified element.
algorithm/InsertDeleteGetRamdom-AllowDuplicate.java:27
MethodremoveBoxes
(int[] boxes)
algorithm/removeBoxes.java:5
MethodremoveDuplicateLetters
(String s)
algorithm/removeDuplicateLetters.java:6
MethodremoveDuplicates
(int[] nums)
algorithm/removeDuplicatesFromSortedArrayII.java:3
MethodremoveDuplicates
(int[] nums)
algorithm/removeDuplicatesFromSortedArray.java:3
MethodremoveEldestEntry
(Map.Entry<Integer, Integer> eldest)
algorithm/LRU.java:9
MethodremoveElement
(int[] nums, int val)
algorithm/removeElement.java:3
MethodremoveElements
(ListNode head, int val)
algorithm/removeLinkedListElements.java:10
MethodremoveInvalidParentheses
(String s)
algorithm/removeInvalidParenthesis.java:6
MethodremoveKdigits
(String num, int k)
algorithm/removeKDigits.java:6
MethodremoveNthFromEnd
(ListNode head, int n)
algorithm/removeNthNodeFromEndOfList.java:12
MethodreorderList
(ListNode head)
algorithm/reorderList.java:7
MethodrepeatedStringMatch
(String A, String B)
algorithm/repeatedStringMatch.java:2
MethodrepeatedSubstringPattern
(String str)
algorithm/repeatedSubstringPattern.java:4
MethodreplaceWords
(List<String> dict, String sentence)
algorithm/replacesWords.java:3
Methodreset
Resets the array to its original configuration and return it.
algorithm/ShuffleAnArray.java:7
MethodrestoreIpAddresses
(String s)
algorithm/restoreIPAddress.java:8
Methodreverse
(int x)
algorithm/reverseInteger.java:2
MethodreverseBetween
(ListNode head, int m, int n)
algorithm/reverseLinkedListII.java:14
MethodreverseBits
(int n)
algorithm/reverseBits.java:3
MethodreverseKGroup
(ListNode head, int k)
algorithm/reverseNodeK-Groups.java:4
MethodreverseList
(ListNode head)
algorithm/reverseLinkedList.java:12
MethodreverseList
(ListNode head)
algorithm/reverseLinkedList.java:26
MethodreverseStr
(String s, int k)
algorithm/reverseStringII.java:2
MethodreverseString
(String s)
algorithm/reverseString.java:2
MethodreverseVowels
(String s)
algorithm/reverseVowelsOfAString.java:3
MethodreverseWords
(String s)
algorithm/reverseWordsInString.java:2
MethodreverseWords
(char[] s)
algorithm/reverseWordsInStringII.java:5
MethodreverseWords
(String s)
algorithm/reverseWordsInaStringIII.java:5
MethodrightSideView
(TreeNode root)
algorithm/binaryTreeRightSideView.java:21
Methodrob
(int[] nums)
algorithm/houseRobberII.java:10
Methodrob
(TreeNode root)
algorithm/houseRobberIII.java:5
Methodrob
(int[] nums)
algorithm/houseRobber.java:3
MethodromanToInt
(String s)
algorithm/romanToInteger.java:3
Methodrotate
(int[] nums, int k)
algorithm/rotateArray.java:3
Methodrotate
(int[][] matrix)
algorithm/rotateImage.java:8
MethodrotateRight
(ListNode head, int k)
algorithm/rotateList.java:4
MethodscheduleCourse
(int[][] courses)
algorithm/courseScheduleIII.java:8
Methodsearch
Returns if the word is in the trie.
algorithm/implementTrie(prefix)Tree.java:25
Methodsearch
(int[] nums, int target)
algorithm/searchInRotatedSortedArray.java:3
Methodsearch
Returns if the word is in the data structure. A word could contain the dot character '.' to represent any one letter.
algorithm/addAndSearchWord.java:22
Methodsearch
Returns if there is any word in the trie that equals to the given word after modifying exactly one character
algorithm/implementMagicDictionary.java:17
Methodsearch
(int[] nums, int target)
algorithm/searchInRotatedSortedArrayII.java:4
MethodsearchMatrix
(int[][] matrix, int target)
algorithm/searchA2DMatrix.java:8
MethodsearchMatrix
(int[][] matrix, int target)
algorithm/searchA2DMatrixII.java:6
MethodsearchRange
(int[] nums, int target)
algorithm/searchForARange.java:3
Methodserialize
(TreeNode root)
algorithm/serializeAndDeserializeBinaryTree.java:6
MethodsetZeroes
(int[][] matrix)
algorithm/setMatrixZeros.java:6
MethodshoppingOffers
(List<Integer> price, List<List<Integer>> special, List<Integer> needs)
algorithm/shoppingOffers.java:6
Methodshortest
(String word1, String word2)
algorithm/shortestWordDistanceII.java:12
MethodshortestDistance
(int[][] grid)
algorithm/shortestDistanceFromAllBuilding.java:12
MethodshortestDistance
(int[][] maze, int[] start, int[] destination)
algorithm/theMazeII.java:2
MethodshortestDistance
(String[] words, String word1, String word2)
algorithm/shortestWordDistance.java:3
MethodshortestPalindrome
(String s)
algorithm/shortestPalindrom.java:5
← previousnext →601–700 of 771, ranked by callers