Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cartoonYu/LeetCodeSolution
/ functions
Functions
737 in github.com/cartoonYu/LeetCodeSolution
⨍
Functions
737
◇
Types & classes
424
Method
testCountNegatives
()
src/test/java/org/LeetcodeSolution/Array/Solution1351Test.java:46
Method
testCountNumbersWithUniqueDigits
Method: countNumbersWithUniqueDigits(int n)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution357Test.java:38
Method
testDecompressRLElist
Method: decompressRLElist(int[] nums)
src/test/java/org/LeetcodeSolution/Array/Solution1313Test.java:43
Method
testDeleteDuplicates
Method: deleteDuplicates(ListNode head)
src/test/java/org/LeetcodeSolution/LinkedList/Solution82Test.java:48
Method
testDestCity
Method: destCity(List<List<String>> paths)
src/test/java/org/LeetcodeSolution/String/Solution1436Test.java:61
Method
testDivisorGame1
Method: divisorGame1(int N)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution1025Test.java:59
Method
testDivisorGame2
Method: divisorGame2(int N)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution1025Test.java:43
Method
testFib
Method: fib(int N)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution509Test.java:50
Method
testFindContentChildren
Method: findContentChildren(int[] g, int[] s)
src/test/java/org/LeetcodeSolution/Array/Solution455Test.java:49
Method
testFindJudge
Method: findJudge(int N, int[][] trust)
src/test/java/org/LeetcodeSolution/Chart/Solution997Test.java:78
Method
testFindLength
Method: findLength(int[] A, int[] B)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution718Test.java:40
Method
testFindLucky
()
src/test/java/org/LeetcodeSolution/Array/Solution1394Test.java:52
Method
testFindMaxAverage
Method: findMaxAverage(int[] nums, int k)
src/test/java/org/LeetcodeSolution/Array/Solution643Test.java:39
Method
testFindMaxConsecutiveOnes
Method: findMaxConsecutiveOnes(int[] nums)
src/test/java/org/LeetcodeSolution/Array/Solution485Test.java:37
Method
testFindMin
()
src/test/java/org/LeetcodeSolution/BinarySearch/Solution154Test.java:36
Method
testFindMin
()
src/test/java/org/LeetcodeSolution/BinarySearch/Solution153Test.java:42
Method
testFindPeakElement
()
src/test/java/org/LeetcodeSolution/BinarySearch/Solution162Test.java:32
Method
testFindPeakElementByTraditionalSearch
()
src/test/java/org/LeetcodeSolution/BinarySearch/Solution162Test.java:43
Method
testFindRestaurant
Method: findRestaurant(String[] list1, String[] list2)
src/test/java/org/LeetcodeSolution/Array/Solution599Test.java:49
Method
testFindTheDifference
Method: findTheDifference(String s, String t)
src/test/java/org/LeetcodeSolution/String/Solution389Test.java:68
Method
testFindWords
Method: findWords(String[] words)
src/test/java/org/LeetcodeSolution/Array/Solution500Test.java:39
Method
testFirstBadVersion
()
src/test/java/org/LeetcodeSolution/BinarySearch/Solution278Test.java:30
Method
testFirstMissingPositive
Method: firstMissingPositive(int[] nums)
src/test/java/org/LeetcodeSolution/Array/Solution41Test.java:41
Method
testFirstUniqChar
Method: firstUniqChar(String s)
src/test/java/org/LeetcodeSolution/String/Solution387Test.java:44
Method
testFirstUniqCharByHashMap
Method: firstUniqCharByHashMap(String s)
src/test/java/org/LeetcodeSolution/String/Solution387Test.java:60
Method
testFlipAndInvertImage
()
src/test/java/org/LeetcodeSolution/Array/Solution832Test.java:38
Method
testFrequencySortByBucketSort
Method: frequencySortByBucketSort(String s)
src/test/java/org/LeetcodeSolution/String/Solution451Test.java:51
Method
testFrequencySortByTreeMap
Method: frequencySortByTreeMap(String s)
src/test/java/org/LeetcodeSolution/String/Solution451Test.java:70
Method
testGenerate
()
src/test/java/org/LeetcodeSolution/Array/Solution118Test.java:35
Method
testGetBill
()
src/test/java/org/LeetcodeSolution/Design/Solution1357Test.java:99
Method
testGetRow
Method: getRow(int rowIndex)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution119Test.java:44
Method
testHIndexBySort
Method: hIndexBySort(int[] citations)
src/test/java/org/LeetcodeSolution/Array/Solution274Test.java:37
Method
testInsertionSortList
Method: insertionSortList(ListNode head)
src/test/java/org/LeetcodeSolution/LinkedList/Solution147Test.java:45
Method
testIntersect
Method: intersect(int[] nums1, int[] nums2)
src/test/java/org/LeetcodeSolution/Array/Solution350Test.java:49
Method
testIntersection
Method: intersection(int[] nums1, int[] nums2)
src/test/java/org/LeetcodeSolution/Array/Solution349Test.java:48
Method
testIsIsomorphicByHash
Method: isIsomorphicByHash(String s, String t)
src/test/java/org/LeetcodeSolution/String/Solution205Test.java:78
Method
testIsIsomorphicByMarkLastPosition
Method: isIsomorphicByMarkLastPosition(String s, String t)
src/test/java/org/LeetcodeSolution/String/Solution205Test.java:59
Method
testIsSubsequence
Method: isSubsequence(String s, String t)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution392Test.java:50
Method
testIslandPerimeter
Method: islandPerimeter(int[][] grid)
src/test/java/org/LeetcodeSolution/Array/Solution463Test.java:49
Method
testJudgeCircle
Method: judgeCircle(String moves)
src/test/java/org/LeetcodeSolution/String/Solution657Test.java:44
Method
testJudgeCircleWithIncrease
Method: judgeCircleWithIncrease(String moves)
src/test/java/org/LeetcodeSolution/String/Solution657Test.java:60
Method
testLargeGroupPositions
()
src/test/java/org/LeetcodeSolution/Array/Solution830Test.java:54
Method
testLargeGroupPositions2
()
src/test/java/org/LeetcodeSolution/Array/Solution830Test.java:68
Method
testLastStoneWeight
()
src/test/java/org/LeetcodeSolution/Array/Solution1046Test.java:34
Method
testLemonadeChange
Method: lemonadeChange(int[] bills)
src/test/java/org/LeetcodeSolution/Greedy/Solution860Test.java:56
Method
testLengthOfLIS
Method: lengthOfLIS(int[] nums)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution300Test.java:69
Method
testLengthOfLISByBinarySearch
Method: lengthOfLISByBinarySearch(int[] nums)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution300Test.java:50
Method
testLengthOfLastWord
Method: lengthOfLastWord(String s)
src/test/java/org/LeetcodeSolution/String/Solution58Test.java:43
Method
testLengthOfLongestSubstring
Method: lengthOfLongestSubstring(String s)
src/test/java/org/LeetcodeSolution/String/Solution3Test.java:55
Method
testLetterCombinations
Method: letterCombinations(String digits)
src/test/java/org/LeetcodeSolution/BackTracking/Solution17Test.java:41
Method
testLicenseKeyFormatting
Method: licenseKeyFormatting(String S, int K)
src/test/java/org/LeetcodeSolution/String/Solution482Test.java:50
Method
testLongestCommonPrefixWithSort
Method: longestCommonPrefixWithSort(String[] strs)
src/test/java/org/LeetcodeSolution/String/Solution14Test.java:59
Method
testLongestCommonPrefixWithoutSort
Method: longestCommonPrefixWithoutSort(String[] strs)
src/test/java/org/LeetcodeSolution/String/Solution14Test.java:43
Method
testMaxProfit
Method: maxProfit(int[] prices)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution121Test.java:45
Method
testMaxProfit
Method: maxProfit(int[] prices)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution309Test.java:38
Method
testMaxProfit
Method: maxProfit(int[] prices, int fee)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution714Test.java:40
Method
testMaximalNetworkRank
()
src/test/java/org/LeetcodeSolution/Chart/Solution1615Test.java:51
Method
testMaximalSquare
Method: maximalSquare(char[][] matrix)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution221Test.java:50
Method
testMaximumProduct
Method: maximumProduct(int[] nums)
src/test/java/org/LeetcodeSolution/Array/Solution628Test.java:43
Method
testMaximumProductBySort
Method: maximumProductBySort(int[] nums)
src/test/java/org/LeetcodeSolution/Array/Solution628Test.java:58
Method
testMaximumTime
Method: maximumTime(String time)
src/test/java/org/LeetcodeSolution/Greedy/Solution1736Test.java:49
Method
testMaximumUnits
Method: maximumUnits(int[][] boxTypes, int truckSize)
src/test/java/org/LeetcodeSolution/Greedy/Solution1710Test.java:49
Method
testMaximumWealth
()
src/test/java/org/LeetcodeSolution/Array/Solution1672Test.java:42
Method
testMinCostClimbingStairs
Method: minCostClimbingStairs(int[] cost)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution746Test.java:43
Method
testMinMoves
Method: minMoves(int[] nums)
src/test/java/org/LeetcodeSolution/Array/Solution453Test.java:37
Method
testMinMoves2
Method: minMoves2(int[] nums)
src/test/java/org/LeetcodeSolution/Array/Solution462Test.java:37
Method
testMinSubArrayLen
Method: minSubArrayLen(int s, int[] nums)
src/test/java/org/LeetcodeSolution/Array/Solution209Test.java:40
Method
testMinimumAbsDifference
Method: minimumAbsDifference(int[] arr)
src/test/java/org/LeetcodeSolution/Array/Solution1200Test.java:60
Method
testMissingNumber
Method: missingNumber(int[] nums)
src/test/java/org/LeetcodeSolution/Array/Solution268Test.java:55
Method
testMoveZeroes
Method: moveZeroes(int[] nums)
src/test/java/org/LeetcodeSolution/Array/Solution283Test.java:37
Method
testNextGreatestLetterByBinarySearch
()
src/test/java/org/LeetcodeSolution/BinarySearch/Solution744Test.java:78
Method
testNextGreatestLetterByCirculate
()
src/test/java/org/LeetcodeSolution/BinarySearch/Solution744Test.java:102
Method
testNumIdenticalPairs
Method: numIdenticalPairs(int[] nums)
src/test/java/org/LeetcodeSolution/Array/Solution1512Test.java:49
Method
testNumRescueBoats
Method: numRescueBoats(int[] people, int limit)
src/test/java/org/LeetcodeSolution/Greedy/Solution881Test.java:58
Method
testNumSquares
Method: numSquares(int n)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution279Test.java:44
Method
testNumWaterBottles
Method: numWaterBottles(int numBottles, int numExchange)
src/test/java/org/LeetcodeSolution/Greedy/Solution1518Test.java:67
Method
testNumberOfSteps
Method: numberOfSteps(int num)
src/test/java/org/LeetcodeSolution/Array/Solution1342Test.java:44
Method
testPermute
Method: permute(int[] nums)
src/test/java/org/LeetcodeSolution/BackTracking/Solution46Test.java:47
Method
testPivotIndex
()
src/test/java/org/LeetcodeSolution/Array/Solution724Test.java:38
Method
testPreIntersect
Method: preIntersect(int[] nums1, int[] nums2)
src/test/java/org/LeetcodeSolution/Array/Solution350Test.java:64
Method
testPushDominoes
Method: pushDominoes(String dominoes)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution838Test.java:43
Method
testRelativeSortArray
Method: relativeSortArray(int[] arr1, int[] arr2)
src/test/java/org/LeetcodeSolution/Array/Solution1122Test.java:40
Method
testRemoveElements
Method: removeElements(ListNode head, int val)
src/test/java/org/LeetcodeSolution/LinkedList/Solution203Test.java:60
Method
testRemoveElementsByOnePointer
Method: removeElementsByOnePointer(ListNode head, int val)
src/test/java/org/LeetcodeSolution/LinkedList/Solution203Test.java:79
Method
testRemoveNthFromEnd
Method: removeNthFromEnd(ListNode head, int n)
src/test/java/org/LeetcodeSolution/LinkedList/Solution19Test.java:65
Method
testRepeatedNTimes
()
src/test/java/org/LeetcodeSolution/Array/Solution961Test.java:46
Method
testReplaceElements
Method: replaceElements(int[] arr)
src/test/java/org/LeetcodeSolution/Array/Solution1299Test.java:36
Method
testReverseBetween
Method: reverseBetween(ListNode head, int m, int n)
src/test/java/org/LeetcodeSolution/LinkedList/Solution92Test.java:56
Method
testReverseKGroup2
Method: reverseKGroup2(ListNode head, int k)
src/test/java/org/LeetcodeSolution/LinkedList/Solution25Test.java:65
Method
testReverseList
Method: reverseList(ListNode head)
src/test/java/org/LeetcodeSolution/LinkedList/Solution206Test.java:40
Method
testReverseStr
Method: reverseStr(String s, int k)
src/test/java/org/LeetcodeSolution/String/Solution541Test.java:41
Method
testReverseString
Method: reverseString(char[] s)
src/test/java/org/LeetcodeSolution/String/Solution344Test.java:44
Method
testReverseWordsByChars
Method: reverseWordsByChars(String s)
src/test/java/org/LeetcodeSolution/String/Solution151Test.java:86
Method
testReverseWordsBySplit
Method: reverseWordsBySplit(String s)
src/test/java/org/LeetcodeSolution/String/Solution151Test.java:61
Method
testRob
Method: rob(int[] nums)
src/test/java/org/LeetcodeSolution/DynamicPlanning/Solution213Test.java:44
Method
testRotate
Method: rotate(int[][] matrix)
src/test/java/org/LeetcodeSolution/Array/Solution48Test.java:43
Method
testRotateString1
Method: rotateString1(String A, String B)
src/test/java/org/LeetcodeSolution/String/Solution796Test.java:82
Method
testRotateString2
Method: rotateString2(String A, String B)
src/test/java/org/LeetcodeSolution/String/Solution796Test.java:66
Method
testRotateString3
Method: rotateString3(String A, String B)
src/test/java/org/LeetcodeSolution/String/Solution796Test.java:50
Method
testRun
()
src/test/java/org/LeetcodeSolution/Multithreading/Solution1114Test.java:28
← previous
next →
601–700 of 737, ranked by callers