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
topKFrequent
:type nums: List[int] :type k: int :rtype: List[int]
Python/347. TopKFrequentElements.py:4
Method
topKFrequent
C++/347. TopKFrequentElements.cpp:12
Method
totalFruit
C++/904.FruitIntoBaskets.cpp:34
Method
totalHammingDistance
C++/477. TotalHammingDistance.cpp:3
Method
totalHammingDistance
(int[] nums)
Java/477. Total Hamming Distance.java:20
Method
trailingZeroes
(self, n: int)
Python/172. FactorialTrailingZeroes.py:20
Method
trap
(self, heights: List[int])
Python/42.TrappingRainWater.py:27
Method
trap
C++/42. TrappingRainWater.cpp:11
Method
trap
(int[] heights)
Java/42. TrappingRainWater.java:13
Method
traverse
C++/1305. AllElementsinTwoBinarySearchTrees.cpp:20
Method
tree2str
C++/606. ConstructStringFromBinaryTree.cpp:65
Method
treeSize
C++/199. BinaryTreeRightSideView.cpp:23
Method
treeUtil
this function traverses the tree in preorder traversal while creating the string ans first we add an opening bracket add the value of current node is
C++/606. ConstructStringFromBinaryTree.cpp:53
Method
triangleArea
C++/812. LargestTriangleArea.cpp:22
Method
tribonacci
C++/1137. N-th Tribonacci Number.cpp:14
Method
trimBST
C++/669.TrimABinarySearchTree.cpp:14
Method
twoCitySchedCost
C++/1029. TwoCityScheduling.cpp:20
Method
twoCitySchedCost
(int[][] costs)
Java/1029. TwoCityScheduling.java:15
Method
twoSum
(self, nums: List[int], target: int)
Python/1.TwoSum.py:6
Method
twoSum
C++/167. TwoSumII-InputArrayIsSorted.cpp:12
Method
twoSum
C++/1. TwoSum.cpp:8
Method
twoSum
(int[] nums, int target)
Java/1. Two Sum.java:7
Method
unfollow
Follower unfollows a followee. If the operation is invalid, it should be a no-op. */
C++/355. DesignTwitter.cpp:100
Method
uniqueMorseRepresentations
C++/804. UniqueMorseCodeWords.cpp:29
Method
uniquePaths
C++/62.UniquePaths.cpp:3
Method
uniquePaths
(int m, int n)
Java/62. UniquePath.java:10
Method
update
(int i, int val)
Java/307. Range Sum Query - Mutable.java:74
Method
updateLRU
C++/146. LRUCache.cpp:27
Method
updateMatrix
C++/542. 01Matrix.cpp:37
Method
updateSubrectangle
C++/1476. Subrectangle Queries.cpp:16
Method
validMountainArray
(self, A)
Python/941. ValidMountainArray.py:4
Method
validMountainArray
C++/941. ValidMountainArray.cpp:7
Method
validMountainArray
(int[] A)
Java/941. ValidMountainArray.java:37
Method
validPalindrome
C++/680.ValidPalindromeII.cpp:3
Method
validSquare
C++/593. Valid Square.cpp:38
Method
validateStackSequences
C++/946.ValidateStackSequences.cpp:3
Method
videoStitching
C++/1024. VideoStitching.cpp:14
Method
visiblePoints
C++/1610. MaximumNumberOfVisiblePoints.cpp:62
Method
wb_utils
C++/139. WordBreak.cpp:36
Method
winnerSquareGame
C++/1510. StoneGameIV.cpp:27
Method
winnerSquareGame
(int n)
Java/1510.StoneGameIV.java:4
Method
wordBreak
C++/139. WordBreak.cpp:59
Method
wordExists
C++/79.WordSearch.cpp:17
Method
xorOperation
C++/1486. XOR Operation in an Array.cpp:25
Method
xorQueries
C++/1310. XORQueriesOfASubarray.cpp:36
Method
xorQueries
(int[] arr, int[][] queries)
Java/1310. XOR Queries of a Subarray.java:24
← previous
801–846 of 846, ranked by callers