没有合适的资源?快使用搜索试试~ 我知道了~
leetcode添加元素使和等于-leetcode-go:平时的一些练习XD
共300个文件
go:297个
gitignore:1个
md:1个
需积分: 6 0 下载量 134 浏览量
2021-06-30
06:45:56
上传
评论
收藏 232KB ZIP 举报
温馨提示
leetcode添加元素使和等于 LeetCode 练习 数学 f: INF f: 0 f: 0 f: 0 f: 0 f: 1 f: NB f: 1 f: 0 f: INF 可以使用逆向思维,逆推关系式,参考 171 f: 0 f: INF 摩尔投票法 f: 0 f: INF 摩尔投票法 。。 还是不会啊,这种问题 f: INF 想了半天想出了要求因子为5的个数,但是没想出该怎么统计 f: INF 计算质数,需要用到缓存加速,实在是想不到啊 f: 0 f: 0 go 的堆写的就是蛋疼 回溯算法 f: 0 f: 6 f: 5 f: 0 f: 0 f: 0 f: 0 f: 0 f: 0 f: 0 数组 f: 2 f: 4 f: 0 f: 0 f: 0 f: 0 f: 2 可以使用哈希表,但是占用空间稍多,最初的是用了几次遍历 f: 2 注意去重的方式,目前使用的 map 去重有点耗性能 f: 0, NB f: 0 f: 1, NB f: 0 f: 0 f: 0 f: 1 f: 0 f: 0 f: INF f: INF 学习几种方法:1. 动态规划 2. 栈 3. 双指针 f: 1 f: 0
资源推荐
资源详情
资源评论
收起资源包目录
leetcode添加元素使和等于-leetcode-go:平时的一些练习XD (300个子文件)
.gitignore 2KB
subarray-sum-equals-k_test.go 96KB
substring-with-concatenation-of-all-words.go 3KB
design-circular-deque.go 3KB
design-linked-list.go 3KB
sudoku-solver.go 3KB
insert-interval_test.go 2KB
reverse-integer_test.go 2KB
valid-number_test.go 2KB
valid-number.go 2KB
wildcard-matching_test.go 2KB
basic-calculator-ii.go 2KB
lru-cache.go 2KB
basic-calculator.go 2KB
implement-trie-prefix-tree.go 2KB
design-twitter.go 2KB
multiply-strings.go 2KB
integer-to-english-words.go 2KB
maximal-square_test.go 2KB
add-and-search-word-data-structure-design.go 2KB
string-to-integer-atoi.go 2KB
search-in-rotated-sorted-array.go 2KB
word-ladder-ii.go 2KB
min-stack.go 2KB
minimum-cost-for-tickets_test.go 2KB
design-skiplist.go 2KB
serialize-and-deserialize-binary-tree.go 2KB
integer-to-english-words_test.go 2KB
minimum-cost-for-tickets.go 2KB
course-schedule-ii.go 2KB
populating-next-right-pointers-in-each-node-ii.go 2KB
implement-stack-using-queues.go 2KB
regular-expression-matching_test.go 2KB
trapping-rain-water.go 2KB
validate-ip-address.go 2KB
add-two-numbers_test.go 2KB
text-justification.go 2KB
reverse-nodes-in-k-group_test.go 2KB
set-matrix-zeroes.go 2KB
search-a-2d-matrix_test.go 2KB
sort-of-stacks-lcci.go 2KB
regular-expression-matching.go 2KB
daily-temperatures.go 2KB
number-of-good-leaf-nodes-pairs.go 2KB
course-schedule-ii_test.go 1KB
search-in-rotated-sorted-array_test.go 1KB
next-permutation_test.go 1KB
trapping-rain-water_test.go 1KB
text-justification_test.go 1KB
find-first-and-last-position-of-element-in-sorted-array_test.go 1KB
valid-sudoku_test.go 1KB
string-to-integer-atoi_test.go 1KB
find-latest-group-of-size-m.go 1KB
n-queens_test.go 1KB
search-insert-position_test.go 1KB
search-in-rotated-sorted-array-ii_test.go 1KB
insert-interval.go 1KB
merge-two-sorted-lists_test.go 1KB
edit-distance.go 1KB
calculator-lcci.go 1KB
subtree-of-another-tree_test.go 1KB
n-queens.go 1KB
divide-two-integers_test.go 1KB
unique-paths.go 1KB
implement-strstr_test.go 1KB
construct-binary-tree-from-inorder-and-postorder-traversal_test.go 1KB
recover-a-tree-from-preorder-traversal.go 1KB
3sum-closest.go 1KB
symmetric-tree_test.go 1KB
validate-ip-address_test.go 1KB
rotate-list_test.go 1KB
substring-with-concatenation-of-all-words_test.go 1KB
add-and-search-word-data-structure-design_test.go 1KB
construct-binary-tree-from-preorder-and-inorder-traversal_test.go 1KB
rotate-image_test.go 1KB
wildcard-matching.go 1KB
remove-nth-node-from-end-of-list_test.go 1KB
lowest-common-ancestor-of-a-binary-tree_test.go 1KB
longest-valid-parentheses.go 1KB
satisfiability-of-equality-equations_test.go 1KB
n-queens-ii.go 1KB
find-first-and-last-position-of-element-in-sorted-array.go 1KB
swap-nodes-in-pairs_test.go 1KB
unique-binary-search-trees-ii.go 1KB
implement-strstr.go 1KB
decode-string.go 1KB
longest-substring-without-repeating-characters.go 1KB
maximum-product-subarray_test.go 1KB
sudoku-solver_test.go 1024B
pattern-matching-lcci.go 1003B
remove-element_test.go 1002B
fraction-to-recurring-decimal.go 998B
first-missing-positive.go 997B
longest-palindromic-substring.go 996B
add-binary.go 980B
binary-search-tree-iterator.go 978B
simplify-path_test.go 977B
longest-valid-parentheses_test.go 976B
merge-k-sorted-lists.go 974B
find-the-longest-substring-containing-vowels-in-even-counts.go 969B
共 300 条
- 1
- 2
- 3
资源评论
weixin_38653085
- 粉丝: 4
- 资源: 926
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功