goleetcode

module
v0.0.0-...-dccdff8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2022 License: Apache-2.0

README

Goleetcode

leetcode solution by golang

  1. 矩形面积 leetcode223: https://leetcode-cn.com/problems/rectangle-area/
  2. 旅行终点站 leetcode1436: https://leetcode-cn.com/problems/destination-city/
  3. 数字转换为十六进制数 leetcode405: https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal/
  4. 分数到小数 leetcode166: https://leetcode-cn.com/problems/fraction-to-recurring-decimal/
  5. 密钥格式化 leetcode482: https://leetcode-cn.com/problems/license-key-formatting/
  6. 窥探迭代器 leetcode284: https://leetcode-cn.com/problems/peeking-iterator/
  7. 两数之和 leetcode1:https://leetcode-cn.com/problems/two-sum/
  8. 第三大的数 leetcode414: https://leetcode-cn.com/problems/third-maximum-number/
  9. 字符串中的单词数 leetcode434: https://leetcode-cn.com/problems/number-of-segments-in-a-string/
  10. 两数相加 leetcode2: https://leetcode-cn.com/problems/add-two-numbers/
  11. 重复的DNA序列 leetcode187: https://leetcode-cn.com/problems/repeated-dna-sequences/
  12. 将数据流变为多个不相交区间 leetcode352: https://leetcode-cn.com/problems/data-stream-as-disjoint-intervals/
  13. 排列硬币 leetcode441: https://leetcode-cn.com/problems/arranging-coins/
  14. 外观数列 leetcode38: https://leetcode-cn.com/problems/count-and-say/
  15. 给表达式添加运算符 leetcode282: https://leetcode-cn.com/problems/expression-add-operators/
  16. 二叉搜索树中第K小的元素 leetcode230: https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst/
  17. 数字的补数 leetcode476: https://leetcode-cn.com/problems/number-complement/
  18. 添加与搜索单词 - 数据结构设计 leetcode211: https://leetcode-cn.com/problems/design-add-and-search-words-data-structure/
  19. 最小操作次数使数组元素相等 leetcode453: https://leetcode-cn.com/problems/minimum-moves-to-equal-array-elements/
  20. 加一 leetcode66: https://leetcode-cn.com/problems/plus-one/
  21. 求众数 II leetcode229: https://leetcode-cn.com/problems/majority-element-ii/
  22. 构造矩形 leetcode492: https://leetcode-cn.com/problems/construct-the-rectangle/
  23. 大礼包 leetcode638: https://leetcode-cn.com/problems/shopping-offers/
  24. 搜索二维矩阵 II leetcode240: https://leetcode-cn.com/problems/search-a-2d-matrix-ii/
  25. 下一个更大元素 I 496: https://leetcode-cn.com/problems/next-greater-element-i/
  26. 删除无效的括号 leetcode301: https://leetcode-cn.com/problems/remove-invalid-parentheses/
  27. 重新排序得到 2 的幂 leetcode869: https://leetcode-cn.com/problems/reordered-power-of-2/
  28. 路径交叉 leetcode335: https://leetcode-cn.com/problems/self-crossing/
  29. 只出现一次的数字 III leetcode260: https://leetcode-cn.com/problems/single-number-iii/
  30. 键盘行 leetcode500: https://leetcode-cn.com/problems/keyboard-row/
  31. 分糖果 leetcode575: https://leetcode-cn.com/problems/distribute-candies/
  32. 删除链表中的节点 leetcode237: https://leetcode-cn.com/problems/delete-node-in-a-linked-list/
  33. 接雨水 II leetcode407: https://leetcode-cn.com/problems/trapping-rain-water-ii/
  34. 存在重复元素 leetcode217: https://leetcode-cn.com/problems/contains-duplicate/
  35. 最大子序和 leetcode53: https://leetcode-cn.com/problems/maximum-subarray/
  36. 有效的完全平方数 leetcode367: https://leetcode-cn.com/problems/valid-perfect-square/
  37. 合并两个有序数组 leetcode88: https://leetcode-cn.com/problems/merge-sorted-array/
  38. 最长定差子序列 leetcode1218: https://leetcode-cn.com/problems/longest-arithmetic-subsequence-of-given-difference/
  39. 丢失的数字 leetcode268:https://leetcode-cn.com/problems/missing-number/
  40. 范围求和 II leetcode598: https://leetcode-cn.com/problems/range-addition-ii/
  41. 猜数字游戏 leetcode299: https://leetcode-cn.com/problems/bulls-and-cows/
  42. 祖玛游戏 leetcode488: https://leetcode-cn.com/problems/zuma-game/
  43. 提莫攻击 leetcode495: https://leetcode-cn.com/problems/teemo-attacking/
  44. K个逆序对数组 leetcode629: https://leetcode-cn.com/problems/k-inverse-pairs-array/
  45. 猜数字大小 II leetcode375: https://leetcode-cn.com/problems/guess-number-higher-or-lower-ii/
  46. 检测大写字母 leetcode520: https://leetcode-cn.com/problems/detect-capital/
  47. 键值映射 leetcode677: https://leetcode-cn.com/problems/map-sum-pairs/
  48. 灯泡开关 leetcode319: https://leetcode-cn.com/problems/bulb-switcher/
  49. 完美矩形 leetcode391: https://leetcode-cn.com/problems/perfect-rectangle/
  50. 最大单词长度乘积 leetcode318: https://leetcode-cn.com/problems/maximum-product-of-word-lengths/
  51. 二叉树的坡度 leetcode563: https://leetcode-cn.com/problems/binary-tree-tilt/
  52. 整数替换 leetcode397: https://leetcode-cn.com/problems/integer-replacement/
  53. 最长和谐子序列 leetcode594: https://leetcode-cn.com/problems/longest-harmonious-subsequence/
  54. N 叉树的最大深度 leetcode559: https://leetcode-cn.com/problems/maximum-depth-of-n-ary-tree/
  55. 打乱数组 leetcode384: https://leetcode-cn.com/problems/shuffle-an-array/
  56. 亲密字符串 leetcode859: https://leetcode-cn.com/problems/buddy-strings/
  57. 从英文中重建数字 leetcode423: https://leetcode-cn.com/problems/reconstruct-original-digits-from-english/
  58. 可怜的小猪 leetcode458: https://leetcode-cn.com/problems/poor-pigs/
  59. 学习二叉搜索树
  60. 随机翻转矩阵 leetcode519: https://leetcode-cn.com/problems/random-flip-matrix/
  61. 找到字符串中所有字母异位词 leetcode438: https://leetcode-cn.com/problems/find-all-anagrams-in-a-string/
  62. 第 K 个最小的素数分数 leetcode786: https://leetcode-cn.com/problems/k-th-smallest-prime-fraction/
  63. 第 N 位数字 leetcode400: https://leetcode-cn.com/problems/nth-digit/
  64. 连续字符 leetcode1446: https://leetcode-cn.com/problems/consecutive-characters/
  65. 相对名次 leetcode506: https://leetcode-cn.com/problems/relative-ranks/
  66. K 次取反后最大化的数组和 leetcode1005: https://leetcode-cn.com/problems/maximize-sum-of-array-after-k-negations/
  67. 赎金信 leetcode383: https://leetcode-cn.com/problems/ransom-note/
  68. 超级次方 leetcode372: https://leetcode-cn.com/problems/super-pow/
  69. slice 学习笔记
  70. 截断句子 leetcode1816: https://leetcode-cn.com/problems/truncate-sentence/
  71. 边界着色 leetcode1034: https://leetcode-cn.com/problems/coloring-a-border/
  72. 三个无重叠子数组的最大和 leetcode689: https://leetcode-cn.com/problems/maximum-sum-of-3-non-overlapping-subarrays/
  73. 最短补全词 leetcode748: https://leetcode-cn.com/problems/shortest-completing-word/

Directories

Path Synopsis
go
MapSum command
ShuffleReset command
SummaryRanges command
WordDictionary command
aaarandom command
aaarandom/List command
aaatop101 command
aaio command
addOperators command
addTwoNumbers command
arrangeCoins command
buddyStrings command
bulbSwitch command
canConstruct command
colorBorder command
computeArea command
countAndSay command
countSegments command
deleteNode command
destCity command
findAnagrams command
findComplement command
findLHS command
findMinStep command
findNthDigit command
findTilt command
findWords command
getHint command
getMoneyAmont command
isPerfectSquare command
isSelfCrossing command
kInversePairs command
kthSmallest command
majorityElement command
matrixFlip command
maxCount command
maxDepth command
maxPower command
maxProduct command
maxSubArray command
merge command
minMoves command
missingNumber command
originalDigits command
peekingIterator command
plusOne command
poorPigs command
searchBST command
searchMatrix command
shoppingOffers command
singleNumber command
string command
superPow command
thirdMax command
toHex command
trapRainWater command
twoSum command
* @Author: starine * @Date: 2022/8/22 00:01
* @Author: starine * @Date: 2022/8/22 00:01

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL