README ¶ Goleetcode leetcode solution by golang 矩形面积 leetcode223: https://leetcode-cn.com/problems/rectangle-area/ 旅行终点站 leetcode1436: https://leetcode-cn.com/problems/destination-city/ 数字转换为十六进制数 leetcode405: https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal/ 分数到小数 leetcode166: https://leetcode-cn.com/problems/fraction-to-recurring-decimal/ 密钥格式化 leetcode482: https://leetcode-cn.com/problems/license-key-formatting/ 窥探迭代器 leetcode284: https://leetcode-cn.com/problems/peeking-iterator/ 两数之和 leetcode1:https://leetcode-cn.com/problems/two-sum/ 第三大的数 leetcode414: https://leetcode-cn.com/problems/third-maximum-number/ 字符串中的单词数 leetcode434: https://leetcode-cn.com/problems/number-of-segments-in-a-string/ 两数相加 leetcode2: https://leetcode-cn.com/problems/add-two-numbers/ 重复的DNA序列 leetcode187: https://leetcode-cn.com/problems/repeated-dna-sequences/ 将数据流变为多个不相交区间 leetcode352: https://leetcode-cn.com/problems/data-stream-as-disjoint-intervals/ 排列硬币 leetcode441: https://leetcode-cn.com/problems/arranging-coins/ 外观数列 leetcode38: https://leetcode-cn.com/problems/count-and-say/ 给表达式添加运算符 leetcode282: https://leetcode-cn.com/problems/expression-add-operators/ 二叉搜索树中第K小的元素 leetcode230: https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst/ 数字的补数 leetcode476: https://leetcode-cn.com/problems/number-complement/ 添加与搜索单词 - 数据结构设计 leetcode211: https://leetcode-cn.com/problems/design-add-and-search-words-data-structure/ 最小操作次数使数组元素相等 leetcode453: https://leetcode-cn.com/problems/minimum-moves-to-equal-array-elements/ 加一 leetcode66: https://leetcode-cn.com/problems/plus-one/ 求众数 II leetcode229: https://leetcode-cn.com/problems/majority-element-ii/ 构造矩形 leetcode492: https://leetcode-cn.com/problems/construct-the-rectangle/ 大礼包 leetcode638: https://leetcode-cn.com/problems/shopping-offers/ 搜索二维矩阵 II leetcode240: https://leetcode-cn.com/problems/search-a-2d-matrix-ii/ 下一个更大元素 I 496: https://leetcode-cn.com/problems/next-greater-element-i/ 删除无效的括号 leetcode301: https://leetcode-cn.com/problems/remove-invalid-parentheses/ 重新排序得到 2 的幂 leetcode869: https://leetcode-cn.com/problems/reordered-power-of-2/ 路径交叉 leetcode335: https://leetcode-cn.com/problems/self-crossing/ 只出现一次的数字 III leetcode260: https://leetcode-cn.com/problems/single-number-iii/ 键盘行 leetcode500: https://leetcode-cn.com/problems/keyboard-row/ 分糖果 leetcode575: https://leetcode-cn.com/problems/distribute-candies/ 删除链表中的节点 leetcode237: https://leetcode-cn.com/problems/delete-node-in-a-linked-list/ 接雨水 II leetcode407: https://leetcode-cn.com/problems/trapping-rain-water-ii/ 存在重复元素 leetcode217: https://leetcode-cn.com/problems/contains-duplicate/ 最大子序和 leetcode53: https://leetcode-cn.com/problems/maximum-subarray/ 有效的完全平方数 leetcode367: https://leetcode-cn.com/problems/valid-perfect-square/ 合并两个有序数组 leetcode88: https://leetcode-cn.com/problems/merge-sorted-array/ 最长定差子序列 leetcode1218: https://leetcode-cn.com/problems/longest-arithmetic-subsequence-of-given-difference/ 丢失的数字 leetcode268:https://leetcode-cn.com/problems/missing-number/ 范围求和 II leetcode598: https://leetcode-cn.com/problems/range-addition-ii/ 猜数字游戏 leetcode299: https://leetcode-cn.com/problems/bulls-and-cows/ 祖玛游戏 leetcode488: https://leetcode-cn.com/problems/zuma-game/ 提莫攻击 leetcode495: https://leetcode-cn.com/problems/teemo-attacking/ K个逆序对数组 leetcode629: https://leetcode-cn.com/problems/k-inverse-pairs-array/ 猜数字大小 II leetcode375: https://leetcode-cn.com/problems/guess-number-higher-or-lower-ii/ 检测大写字母 leetcode520: https://leetcode-cn.com/problems/detect-capital/ 键值映射 leetcode677: https://leetcode-cn.com/problems/map-sum-pairs/ 灯泡开关 leetcode319: https://leetcode-cn.com/problems/bulb-switcher/ 完美矩形 leetcode391: https://leetcode-cn.com/problems/perfect-rectangle/ 最大单词长度乘积 leetcode318: https://leetcode-cn.com/problems/maximum-product-of-word-lengths/ 二叉树的坡度 leetcode563: https://leetcode-cn.com/problems/binary-tree-tilt/ 整数替换 leetcode397: https://leetcode-cn.com/problems/integer-replacement/ 最长和谐子序列 leetcode594: https://leetcode-cn.com/problems/longest-harmonious-subsequence/ N 叉树的最大深度 leetcode559: https://leetcode-cn.com/problems/maximum-depth-of-n-ary-tree/ 打乱数组 leetcode384: https://leetcode-cn.com/problems/shuffle-an-array/ 亲密字符串 leetcode859: https://leetcode-cn.com/problems/buddy-strings/ 从英文中重建数字 leetcode423: https://leetcode-cn.com/problems/reconstruct-original-digits-from-english/ 可怜的小猪 leetcode458: https://leetcode-cn.com/problems/poor-pigs/ 学习二叉搜索树 随机翻转矩阵 leetcode519: https://leetcode-cn.com/problems/random-flip-matrix/ 找到字符串中所有字母异位词 leetcode438: https://leetcode-cn.com/problems/find-all-anagrams-in-a-string/ 第 K 个最小的素数分数 leetcode786: https://leetcode-cn.com/problems/k-th-smallest-prime-fraction/ 第 N 位数字 leetcode400: https://leetcode-cn.com/problems/nth-digit/ 连续字符 leetcode1446: https://leetcode-cn.com/problems/consecutive-characters/ 相对名次 leetcode506: https://leetcode-cn.com/problems/relative-ranks/ K 次取反后最大化的数组和 leetcode1005: https://leetcode-cn.com/problems/maximize-sum-of-array-after-k-negations/ 赎金信 leetcode383: https://leetcode-cn.com/problems/ransom-note/ 超级次方 leetcode372: https://leetcode-cn.com/problems/super-pow/ slice 学习笔记 截断句子 leetcode1816: https://leetcode-cn.com/problems/truncate-sentence/ 边界着色 leetcode1034: https://leetcode-cn.com/problems/coloring-a-border/ 三个无重叠子数组的最大和 leetcode689: https://leetcode-cn.com/problems/maximum-sum-of-3-non-overlapping-subarrays/ 最短补全词 leetcode748: https://leetcode-cn.com/problems/shortest-completing-word/ Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis baidu go MapSum command ShuffleReset command SummaryRanges command WordDictionary command aaacweeks/20220723 command aaacweeks/20220724 command aaarandom command aaarandom/001twoSum command aaarandom/002addTwoNumbers command aaarandom/003lengthOfLongestSubstring command aaarandom/004findMedianSortedArrays command aaarandom/20220314 command aaarandom/20220322 command aaarandom/20220624 command aaarandom/20220719 command aaarandom/20220728 command aaarandom/List command aaarandom/List2 aaarandom/List3 aaatop101 command aaio command addOperators command addTwoNumbers command arrangeCoins command buddyStrings command bulbSwitch command canConstruct command chunzhao2022/01numberOfSubarrays command chunzhao2022/02merge command chunzhao2022/03lengthOfLongestSubstring command chunzhao2022/04findMedianSortedArrays command colorBorder command computeArea command constructRectangle command containsDuplicate command countAndSay command countSegments command deleteNode command destCity command detectCapitalUse command distributeCandies command dynamicProgramming command findAnagrams command findComplement command findLHS command findMinStep command findNthDigit command findPoisonedDuration command findRelativeRanks command findRepeatedDnaSequences command findTilt command findWords command fractionToDecimal command getHint command getMoneyAmont command integerReplacement command isPerfectSquare command isRectangleCover command isSelfCrossing command kInversePairs command kthSmallest command kthSmallestPrimeFraction command largestSumAfterKNegations command licenseKeyFormatting command longestSubsequence command majorityElement command matrixFlip command maxCount command maxDepth command maxPower command maxProduct command maxSubArray command merge command minMoves command missingNumber command nextGreaterElement command originalDigits command peekingIterator command plusOne command poorPigs command removeInvalidParentheses command reorderedPowerOf2 command searchBST command searchMatrix command shoppingOffers command singleNumber command string command superPow command thirdMax command toHex command trapRainWater command truncateSentence command twoSum command hot * @Author: starine * @Date: 2022/8/22 00:01 * @Author: starine * @Date: 2022/8/22 00:01 huawei Click to show internal directories. Click to hide internal directories.