MCPcopy Create free account

hub / github.com/acm-clan/algorithm-stone / functions

Functions957 in github.com/acm-clan/algorithm-stone

MethodinsertFront
Adds an item at the front of Deque. Return true if the operation is successful. */
user/leetcode/641.设计循环双端队列.cpp:16
MethodinsertLast
Adds an item at the rear of Deque. Return true if the operation is successful. */
user/leetcode/641.设计循环双端队列.cpp:21
Methodinsert_fixup
1 父子节点之间不能出现两个连续的红节点 2 任何一个节点向下遍历到其子孙的叶子节点,所经过的黑节点个数必须相等 */
templates/rb.cpp:211
MethodinsertionSortList
user/leetcode/147. 对链表进行插入排序.cpp:20
MethodintToRoman
user/leetcode/12.整数转罗马数字.cpp:10
Methodintersect
user/leetcode/350.两个数组的交集-ii.cpp:10
Methodintersection
user/leetcode/349.两个数组的交集.cpp:16
MethodinvertTree
user/leetcode/226.翻转二叉树.cpp:21
MethodisBalanced
user/leetcode/110.平衡二叉树.cpp:25
MethodisEmpty
Checks whether the circular deque is empty or not. */
user/leetcode/641.设计循环双端队列.cpp:46
MethodisEmpty
user/leetcode/622.设计循环队列.cpp:49
MethodisEvenOddTree
user/leetcode/1609.奇偶树.cpp:21
MethodisFull
Checks whether the circular deque is full or not. */
user/leetcode/641.设计循环双端队列.cpp:51
MethodisFull
user/leetcode/622.设计循环队列.cpp:53
MethodisLeaf
(self)
animations/src/algo_rbtree.py:49
MethodisMatch
user/leetcode/44.通配符匹配.cpp:10
MethodisNStraightHand
user/leetcode/846.一手顺子.cpp:10
MethodisNumber
user/leetcode/150.逆波兰表达式求值.cpp:41
MethodisNumber
user/leetcode/65.有效数字.cpp:10
MethodisPalindrome
user/leetcode/125.验证回文串.cpp:10
MethodisPalindrome
user/leetcode/336.回文对.cpp:46
MethodisPalindrome
简单的做法为 把链表的值入栈,再出栈比对。 时间复杂度O(n) 空间复杂度O(1) 前半部分 和 后半部分的值相等 反转后半部分(使用栈) 得到前半部分
user/leetcode/234.回文链表.cpp:24
MethodisPerfectSquare
user/leetcode/367.有效的完全平方数.cpp:16
MethodisPossible
user/leetcode/659.分割数组为连续子序列.cpp:10
MethodisSameTree
user/leetcode/100.相同的树.cpp:21
MethodisScramble
user/leetcode/87.扰乱字符串.cpp:10
MethodisSubPath
枚举选择起点
user/leetcode/1367. 二叉树中的列表.cpp:40
MethodisSubsequence
(self, s: str, t: str)
user/leetcode/392.判断子序列.py:9
MethodisSubsequence
user/leetcode/392.判断子序列.cpp:10
MethodisSubtree
user/leetcode/572.另一个树的子树.cpp:38
MethodisSymmetric
user/leetcode/101.对称二叉树.cpp:21
MethodisTransformable
user/leetcode/1585.检查字符串是否可以通过排序子字符串得到另一个字符串.cpp:10
MethodisValid
user/leetcode/591.标签验证器.cpp:10
MethodisValid
user/leetcode/20.有效的括号.cpp:10
MethodisValid
user/leetcode/1003.检查替换后的词是否有效.cpp:10
MethodisValidBST
user/leetcode/98.验证二叉搜索树.cpp:21
Functionis_int
(s)
src/util.py:36
Methodis_valid_title
(self, title)
src/codeforces_view.py:28
Methodis_valid_title
(self, title)
src/leetcode_view.py:27
MethodjudgeCircle
user/leetcode/657.机器人能否返回原点.cpp:10
MethodkClosest
user/leetcode/973.最接近原点的-k-个点.cpp:17
MethodkSmallestPairs
user/leetcode/373.查找和最小的k对数字.cpp:26
MethodknightDialer
user/leetcode/935.骑士拨号器.cpp:10
MethodkthSmallest
user/leetcode/378.有序矩阵中第-k-小的元素.cpp:10
MethodkthSmallest
user/leetcode/1439.有序矩阵中的第-k-个最小数组和.cpp:10
MethodkthSmallest
user/leetcode/230.二叉搜索树中第k小的元素.cpp:21
MethodkthSmallestPrimeFraction
user/leetcode/786.第-k-个最小的素数分数.cpp:10
MethodlargestNumber
user/leetcode/1449.数位成本和为目标值的最大数字.cpp:10
MethodlargestRectangleArea
user/leetcode/84.柱状图中最大的矩形.cpp:10
MethodlastStoneWeight
user/leetcode/1046.最后一块石头的重量.cpp:12
MethodlastSubstring
user/leetcode/1163.按字典序排在最后的子串.cpp:10
MethodleastInterval
user/leetcode/621.任务调度器.cpp:10
Methodleave
user/leetcode/855.考场就座.cpp:46
MethodleftRotate
templates/red-black-tree.cpp:86
MethodleftRotate
templates/rb.cpp:105
MethodlemonadeChange
(self, bills: List[int])
user/leetcode/860.柠檬水找零.py:9
MethodlengthOfLastWord
user/leetcode/58.最后一个单词的长度.cpp:10
MethodlengthOfLongestSubstring
user/leetcode/3.无重复字符的最长子串.cpp:19
MethodletterCombinations
user/leetcode/17.电话号码的字母组合.cpp:10
MethodlevelOrder
user/leetcode/429.n-叉树的层序遍历.cpp:30
MethodlevelOrder
user/leetcode/102.二叉树的层序遍历.cpp:25
MethodlongestAwesome
user/leetcode/1542.找出最长的超赞子字符串.cpp:10
MethodlongestCommonPrefix
user/leetcode/14.最长公共前缀.cpp:10
MethodlongestPalindrome
user/leetcode/5.最长回文子串.cpp:10
MethodlongestPrefix
user/leetcode/1392.最长快乐前缀.cpp:10
MethodlongestSubstring
user/leetcode/395.至少有-k-个重复字符的最长子串.cpp:10
MethodlongestValidParentheses
user/leetcode/32.最长有效括号.cpp:10
MethodlongestWPI
user/leetcode/1124.表现良好的最长时间段.cpp:10
MethodlongestWord
user/leetcode/720.词典中最长的单词.cpp:60
MethodlongestZigZag
user/leetcode/1372.二叉树中的最长交错路径.cpp:19
Methodlowbit
user/leetcode/307.区域和检索-数组可修改.cpp:18
MethodlowestCommonAncestor
user/leetcode/235.二叉搜索树的最近公共祖先.cpp:20
MethodlowestCommonAncestor
user/leetcode/236.二叉树的最近公共祖先.cpp:19
Functionmain
user/codeforces/750A.New Year and Hurry.cpp:6
Functionmain
user/codeforces/1605A.A.M. Deviation.cpp:4
Functionmain
user/codeforces/1157B.Long Number.cpp:6
Functionmain
user/codeforces/1607C.Minimum Extraction.cpp:7
Functionmain
user/codeforces/1607E.Robot on the Board 1.cpp:8
Functionmain
user/codeforces/802M.April Fools' Problem (easy).cpp:8
Functionmain
user/codeforces/4A.Watermelon.cpp:4
Functionmain
user/codeforces/7C.Line.cpp:22
Functionmain
user/codeforces/1A.Theatre Square.cpp:6
Functionmain
user/codeforces/409D.Big Data.cpp:6
Functionmain
user/codeforces/855A.Tom Riddle's Diary.cpp:8
Functionmain
user/codeforces/409H.A + B Strikes Back.cpp:4
Functionmain
user/codeforces/1607D.Blue-Red Permutation.cpp:13
Functionmain
user/codeforces/6A.Triangle.cpp:6
Functionmain
user/codeforces/5A.Chat Server's Outgoing Traffic.cpp:7
Functionmain
user/codeforces/171E.MYSTERIOUS LANGUAGE.cpp:6
Functionmain
user/codeforces/884A.Book Reading.cpp:6
Functionmain
user/codeforces/785A.Anton and Polyhedrons.cpp:9
Functionmain
user/codeforces/1607B.Odd Grasshopper.cpp:7
Functionmain
user/codeforces/1607A.Linear Keyboard.cpp:7
Functionmain
user/codeforces/10A.Power Consumption Calculation.cpp:7
Functionmain
user/codeforces/71A.Way Too Long Words.cpp:3
Functionmain
user/codeforces/784E.Twisted Circuit.cpp:6
Functionmain
templates/binary-index-tree.cpp:94
Functionmain
templates/red-black-tree.cpp:386
Functionmain
templates/rb.cpp:452
Functionmain
templates/quicksort.cpp:44
← previousnext →601–700 of 957, ranked by callers