Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ctfu/Leetcode
/ functions
Functions
771 in github.com/ctfu/Leetcode
⨍
Functions
771
◇
Types & classes
491
Method
next
()
algorithm/zigZagIterator.java:16
Method
next
(int val)
algorithm/movingAverage.java:13
Method
next
()
algorithm/flattenNestedListIterator.java:32
Method
next
()
algorithm/binarySearchTreeIterator.java:29
Method
nextClosestTime
(String time)
algorithm/nextClosestTime.java:2
Method
nextGreaterElement
(int[] findNums, int[] nums)
algorithm/nextGreaterElementI.java:6
Method
nextGreaterElement
(int n)
algorithm/nextGreaterElementIII.java:5
Method
nextGreaterElements
(int[] nums)
algorithm/nextGreaterElementII.java:6
Method
nextPermutation
(int[] nums)
algorithm/nextPermutation.java:9
Method
nthUglyNumber
(int n)
algorithm/uglyNumberII.java:5
Method
numDecodings
(String s)
algorithm/decodeWays.java:8
Method
numDistinct
(String s, String t)
algorithm/distinctSubsequence.java:5
Method
numIslands
(char[][] grid)
algorithm/numberOfIsland.java:4
Method
numIslands2
(int m, int n, int[][] positions)
algorithm/numberOfIslandsII.java:7
Method
numSquares
(int n)
algorithm/perfectSquare.java:5
Method
numTrees
(int n)
algorithm/uniqueBinarySearchTree.java:7
Method
numWays
(int n, int k)
algorithm/paintFence.java:3
Method
numberOfArithmeticSlices
(int[] A)
algorithm/arithmeticSlicesII.java:25
Method
numberOfArithmeticSlices
(int[] A)
algorithm/arithmeticSlices.java:15
Method
numberOfBoomerangs
(int[][] points)
algorithm/numberOfBoomerangs.java:6
Method
numberToWords
(int num)
algorithm/integerToEnglishWords.java:10
Method
oddEvenList
(ListNode head)
algorithm/oddEvenLinkedList.java:14
Method
originalDigits
(String s)
algorithm/reconstructOriginalDigitFromEnglish.java:14
Method
outerTrees
(Point[] points)
algorithm/erectTheFence.java:23
Method
pacificAtlantic
(int[][] matrix)
algorithm/pacificAtlanticWaterFlow.java:4
Method
palindromePairs
(String[] words)
algorithm/palindromPair.java:6
Method
parseTernary
(String expression)
algorithm/tenaryExpression.java:6
Method
partition
(String s)
algorithm/palindromPartition.java:3
Method
partition
(ListNode head, int x)
algorithm/partitionList.java:5
Method
peek
Get the front element.
algorithm/implementQueueUsingStack.java:27
Method
plusOne
(ListNode head)
algorithm/plusOneLinkedList.java:3
Method
plusOne
(int[] digits)
algorithm/plusOne.java:3
Method
pop
()
algorithm/implementStackUsingQueue.java:13
Method
postTweet
Compose a new tweet.
algorithm/designTwitter.java:13
Method
postorderTraversal
(TreeNode root)
algorithm/binaryTreePostorderTraversal.java:20
Method
productExceptSelf
(int[] nums)
algorithm/productOfArrayExceptSelf.java:4
Method
push
(int x)
algorithm/implementStackUsingQueue.java:4
Method
rangeBitwiseAnd
(int m, int n)
algorithm/bitwiseANDOfNumberRange.java:18
Method
read
@param buf Destination buffer @param n Maximum number of characters to read @return The number of characters read
algorithm/readNCharactersGivenRead4II.java:27
Method
read
@param buf Destination buffer @param n Maximum number of characters to read @return The number of characters read
algorithm/readNCharactersGivenRead4.java:10
Method
readBinaryWatch
(int num)
algorithm/binaryWatch.java:2
Method
rearrangeString
(String s, int k)
algorithm/rearrangeString.java:5
Method
reconstructQueue
(int[][] people)
algorithm/queueConstructionByHeight.java:8
Method
recoverTree
(TreeNode root)
algorithm/recoverBinarySearchTree.java:8
Method
release
Recycle or release a number.
algorithm/designPhoneDictionary.java:39
Method
remove
Removes a value from the set. Returns true if the set contained the specified element.
algorithm/InsertDeleteGetRamdom.java:25
Method
remove
Removes a value from the collection. Returns true if the collection contained the specified element.
algorithm/InsertDeleteGetRamdom-AllowDuplicate.java:27
Method
removeBoxes
(int[] boxes)
algorithm/removeBoxes.java:5
Method
removeDuplicateLetters
(String s)
algorithm/removeDuplicateLetters.java:6
Method
removeDuplicates
(int[] nums)
algorithm/removeDuplicatesFromSortedArrayII.java:3
Method
removeDuplicates
(int[] nums)
algorithm/removeDuplicatesFromSortedArray.java:3
Method
removeEldestEntry
(Map.Entry<Integer, Integer> eldest)
algorithm/LRU.java:9
Method
removeElement
(int[] nums, int val)
algorithm/removeElement.java:3
Method
removeElements
(ListNode head, int val)
algorithm/removeLinkedListElements.java:10
Method
removeInvalidParentheses
(String s)
algorithm/removeInvalidParenthesis.java:6
Method
removeKdigits
(String num, int k)
algorithm/removeKDigits.java:6
Method
removeNthFromEnd
(ListNode head, int n)
algorithm/removeNthNodeFromEndOfList.java:12
Method
reorderList
(ListNode head)
algorithm/reorderList.java:7
Method
repeatedStringMatch
(String A, String B)
algorithm/repeatedStringMatch.java:2
Method
repeatedSubstringPattern
(String str)
algorithm/repeatedSubstringPattern.java:4
Method
replaceWords
(List<String> dict, String sentence)
algorithm/replacesWords.java:3
Method
reset
Resets the array to its original configuration and return it.
algorithm/ShuffleAnArray.java:7
Method
restoreIpAddresses
(String s)
algorithm/restoreIPAddress.java:8
Method
reverse
(int x)
algorithm/reverseInteger.java:2
Method
reverseBetween
(ListNode head, int m, int n)
algorithm/reverseLinkedListII.java:14
Method
reverseBits
(int n)
algorithm/reverseBits.java:3
Method
reverseKGroup
(ListNode head, int k)
algorithm/reverseNodeK-Groups.java:4
Method
reverseList
(ListNode head)
algorithm/reverseLinkedList.java:12
Method
reverseList
(ListNode head)
algorithm/reverseLinkedList.java:26
Method
reverseStr
(String s, int k)
algorithm/reverseStringII.java:2
Method
reverseString
(String s)
algorithm/reverseString.java:2
Method
reverseVowels
(String s)
algorithm/reverseVowelsOfAString.java:3
Method
reverseWords
(String s)
algorithm/reverseWordsInString.java:2
Method
reverseWords
(char[] s)
algorithm/reverseWordsInStringII.java:5
Method
reverseWords
(String s)
algorithm/reverseWordsInaStringIII.java:5
Method
rightSideView
(TreeNode root)
algorithm/binaryTreeRightSideView.java:21
Method
rob
(int[] nums)
algorithm/houseRobberII.java:10
Method
rob
(TreeNode root)
algorithm/houseRobberIII.java:5
Method
rob
(int[] nums)
algorithm/houseRobber.java:3
Method
romanToInt
(String s)
algorithm/romanToInteger.java:3
Method
rotate
(int[] nums, int k)
algorithm/rotateArray.java:3
Method
rotate
(int[][] matrix)
algorithm/rotateImage.java:8
Method
rotateRight
(ListNode head, int k)
algorithm/rotateList.java:4
Method
scheduleCourse
(int[][] courses)
algorithm/courseScheduleIII.java:8
Method
search
Returns if the word is in the trie.
algorithm/implementTrie(prefix)Tree.java:25
Method
search
(int[] nums, int target)
algorithm/searchInRotatedSortedArray.java:3
Method
search
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
Method
search
Returns if there is any word in the trie that equals to the given word after modifying exactly one character
algorithm/implementMagicDictionary.java:17
Method
search
(int[] nums, int target)
algorithm/searchInRotatedSortedArrayII.java:4
Method
searchMatrix
(int[][] matrix, int target)
algorithm/searchA2DMatrix.java:8
Method
searchMatrix
(int[][] matrix, int target)
algorithm/searchA2DMatrixII.java:6
Method
searchRange
(int[] nums, int target)
algorithm/searchForARange.java:3
Method
serialize
(TreeNode root)
algorithm/serializeAndDeserializeBinaryTree.java:6
Method
setZeroes
(int[][] matrix)
algorithm/setMatrixZeros.java:6
Method
shoppingOffers
(List<Integer> price, List<List<Integer>> special, List<Integer> needs)
algorithm/shoppingOffers.java:6
Method
shortest
(String word1, String word2)
algorithm/shortestWordDistanceII.java:12
Method
shortestDistance
(int[][] grid)
algorithm/shortestDistanceFromAllBuilding.java:12
Method
shortestDistance
(int[][] maze, int[] start, int[] destination)
algorithm/theMazeII.java:2
Method
shortestDistance
(String[] words, String word1, String word2)
algorithm/shortestWordDistance.java:3
Method
shortestPalindrome
(String s)
algorithm/shortestPalindrom.java:5
← previous
next →
601–700 of 771, ranked by callers