MCPcopy Create free account

hub / github.com/SHY-Corp/LeetCode-Solutions / functions

Functions846 in github.com/SHY-Corp/LeetCode-Solutions

MethodtopKFrequent
:type nums: List[int] :type k: int :rtype: List[int]
Python/347. TopKFrequentElements.py:4
MethodtopKFrequent
C++/347. TopKFrequentElements.cpp:12
MethodtotalFruit
C++/904.FruitIntoBaskets.cpp:34
MethodtotalHammingDistance
C++/477. TotalHammingDistance.cpp:3
MethodtotalHammingDistance
(int[] nums)
Java/477. Total Hamming Distance.java:20
MethodtrailingZeroes
(self, n: int)
Python/172. FactorialTrailingZeroes.py:20
Methodtrap
(self, heights: List[int])
Python/42.TrappingRainWater.py:27
Methodtrap
C++/42. TrappingRainWater.cpp:11
Methodtrap
(int[] heights)
Java/42. TrappingRainWater.java:13
Methodtraverse
C++/1305. AllElementsinTwoBinarySearchTrees.cpp:20
Methodtree2str
C++/606. ConstructStringFromBinaryTree.cpp:65
MethodtreeSize
C++/199. BinaryTreeRightSideView.cpp:23
MethodtreeUtil
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
MethodtriangleArea
C++/812. LargestTriangleArea.cpp:22
Methodtribonacci
C++/1137. N-th Tribonacci Number.cpp:14
MethodtrimBST
C++/669.TrimABinarySearchTree.cpp:14
MethodtwoCitySchedCost
C++/1029. TwoCityScheduling.cpp:20
MethodtwoCitySchedCost
(int[][] costs)
Java/1029. TwoCityScheduling.java:15
MethodtwoSum
(self, nums: List[int], target: int)
Python/1.TwoSum.py:6
MethodtwoSum
C++/167. TwoSumII-InputArrayIsSorted.cpp:12
MethodtwoSum
C++/1. TwoSum.cpp:8
MethodtwoSum
(int[] nums, int target)
Java/1. Two Sum.java:7
Methodunfollow
Follower unfollows a followee. If the operation is invalid, it should be a no-op. */
C++/355. DesignTwitter.cpp:100
MethoduniqueMorseRepresentations
C++/804. UniqueMorseCodeWords.cpp:29
MethoduniquePaths
C++/62.UniquePaths.cpp:3
MethoduniquePaths
(int m, int n)
Java/62. UniquePath.java:10
Methodupdate
(int i, int val)
Java/307. Range Sum Query - Mutable.java:74
MethodupdateLRU
C++/146. LRUCache.cpp:27
MethodupdateMatrix
C++/542. 01Matrix.cpp:37
MethodupdateSubrectangle
C++/1476. Subrectangle Queries.cpp:16
MethodvalidMountainArray
(self, A)
Python/941. ValidMountainArray.py:4
MethodvalidMountainArray
C++/941. ValidMountainArray.cpp:7
MethodvalidMountainArray
(int[] A)
Java/941. ValidMountainArray.java:37
MethodvalidPalindrome
C++/680.ValidPalindromeII.cpp:3
MethodvalidSquare
C++/593. Valid Square.cpp:38
MethodvalidateStackSequences
C++/946.ValidateStackSequences.cpp:3
MethodvideoStitching
C++/1024. VideoStitching.cpp:14
MethodvisiblePoints
C++/1610. MaximumNumberOfVisiblePoints.cpp:62
Methodwb_utils
C++/139. WordBreak.cpp:36
MethodwinnerSquareGame
C++/1510. StoneGameIV.cpp:27
MethodwinnerSquareGame
(int n)
Java/1510.StoneGameIV.java:4
MethodwordBreak
C++/139. WordBreak.cpp:59
MethodwordExists
C++/79.WordSearch.cpp:17
MethodxorOperation
C++/1486. XOR Operation in an Array.cpp:25
MethodxorQueries
C++/1310. XORQueriesOfASubarray.cpp:36
MethodxorQueries
(int[] arr, int[][] queries)
Java/1310. XOR Queries of a Subarray.java:24
← previous801–846 of 846, ranked by callers