algorithm001 / algorithm

119 stars 152 forks source link

算法训练营第二周作业 #52

Open GeekUniversity opened 5 years ago

GeekUniversity commented 5 years ago

本周重点学习知识点

跳表、散列表、哈希算法、二叉树、红黑树

要求

  1. 每周至少完成给定题目中的两道算法题
  2. 围绕每周重点学习的算法知识点,撰写一篇有观点和思考的技术文章(字数不限)

注意事项

  1. 下面列出的题目中,按照知识点进行了简单分类,但并不意味着使用相应的数据结构或算法一定是解决该题目的最优解,这样分类只是为了方便大家有针对性的练习;
  2. 有的题目可能需要结合多个算法或数据结构进行求解。

第二周题目

哈希表

简单:https://leetcode-cn.com/problems/valid-anagram/ 中等:https://leetcode-cn.com/problems/top-k-frequent-words 中等:https://leetcode-cn.com/problems/find-duplicate-file-in-system/ 困难:https://leetcode-cn.com/problems/substring-with-concatenation-of-all-words/ 困难:https://leetcode-cn.com/problems/number-of-atoms/

二叉树

简单:https://leetcode-cn.com/problems/second-minimum-node-in-a-binary-tree/ 中等:https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/ 中等:https://leetcode-cn.com/problems/all-nodes-distance-k-in-binary-tree/ 困难:https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self/ 困难:https://leetcode-cn.com/problems/binary-tree-maximum-path-sum/

二叉搜索树

简单:https://leetcode-cn.com/problems/minimum-distance-between-bst-nodes/ 中等:https://leetcode-cn.com/problems/range-sum-of-bst/ 中等:https://leetcode-cn.com/problems/contains-duplicate-iii/ 困难:https://leetcode-cn.com/problems/count-of-range-sum/ 困难:https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self/

作业提交规则

  1. 在提交作业之前,请先阅读这里的 README 文档:https://github.com/algorithm001/algorithm/blob/master/README.md
  2. 然后在此 Issues 下按照如下格式回复:
  1. 学号 + GitHub Username
  2. 作业代码的 GitHub 链接(填写自己仓库下对应的作业链接即可,同时记得给本仓库提交 pull request)
  3. 发表自己本周的学习感言 issues,并提交链接,issues 标题格式:“【学号后三位-week2】+文章标题”,格式参考:https://github.com/algorithm001/algorithm/issues/9
okbengii commented 5 years ago

学号:81 username:abinbao 第二周作业链接:https://github.com/abinbao/algorithm-1/tree/master/Week_02/id_81 学习感言:https://github.com/algorithm001/algorithm/issues/454

kdbreboot commented 5 years ago

学号:003 username:battlezh 第二周作业链接:https://github.com/battlezh/algorithm/tree/master/Week_02/id_3 学习感言: #457

haotone commented 5 years ago

学号:140 username:artisticman 第二周作业链接:https://github.com/artisticman/algorithm/tree/master/Week_02/id_140 学习感言:#453

671 先遍历二叉树收集值去重。然后取第二小值。

GUOSF commented 5 years ago

学号:118,姓名:李颜翎 第二周作业链接:https://github.com/yanlingli3799/algorithm/tree/master/Week_02/id_118 学习感言:#415 题目列表:236、242、671、692、863 242 3和4可以合起来^_^

yanlingli3799 commented 5 years ago

学号:118,姓名:李颜翎 第二周作业链接:https://github.com/yanlingli3799/algorithm/tree/master/Week_02/id_118 学习感言:#415 题目列表:236、242、671、692、863 242 3和4可以合起来^_^

有道理哎,机智!

GUOSF commented 5 years ago

学号:069 username:GradyWong 第二周作业链接:https://github.com/GradyWong/algorithm/tree/master/Week_02/id_69 学习感言:#332 你的242 还简单点。

bjzhang commented 5 years ago

学号 125,username: bjzhang 第二周作业:https://github.com/algorithm001/algorithm/pull/458 感言:https://github.com/algorithm001/algorithm/issues/460

GUOSF commented 5 years ago

学号:042 username:linear063 第二周作业链接:https://github.com/linear063/algorithm/tree/master/Week_02/id_42 学习感想:#344

俩个题目写反了。。。 671看到的新写法

wahaha2019 commented 5 years ago

学号: 063 (9组) GitHub Username: wahaha2019 语言: Java 代码链接: https://github.com/wahaha2019/algorithm/tree/master/Week_02/id_63 学习感言: https://github.com/algorithm001/algorithm/issues/459

ma451152002 commented 5 years ago

学号:058 username:maguangjun(马光君) 第二周作业链接:https://github.com/algorithm001/algorithm/blob/master/Week_02/id_58/LeetCode_242_058.java https://github.com/algorithm001/algorithm/blob/master/Week_02/id_58/LeetCode_692_058.java 学习感言:#465

yuqiu-pp commented 5 years ago

学号:006 Username:yuqiu-pp 第二周作业链接:https://github.com/yuqiu-pp/algorithm/tree/master/Week_02/id_6 学习感言:#466

DevinSu commented 5 years ago

学号:091 username:籍东文 https://github.com/DevinSu/algorithm/tree/master/Week_02/id_91 学习感言 #359

hfcc8685 commented 5 years ago

学号: 071; GitHub Username: hfcc8685 作业代码的 GitHub 链接: https://github.com/hfcc8685/algorithm/tree/master/Week_02/id_71 学习感言: #468

Hermancg commented 5 years ago

学号:088 username: Hermancg 第二周作业链接:https://github.com/Hermancg/algorithm/tree/master/Week_02/id_88 学习感言:#464

zsndev commented 5 years ago

学号:012 username: hijkoo 第二周作业链接:https://github.com/hijkoo/algorithm/tree/master/Week_02/id_12 学习感言:#348

yuzewang commented 5 years ago

学号:136 Username:yuzewang 第二周作业链接:https://github.com/songsmith/algorithm/tree/master/Week_02/id_136 学习感言: #471

ellie88 commented 5 years ago

学号:094 Username: ellie88 第二周作业链接: https://github.com/ellie88/algorithm/tree/master/Week_02/id_94 学习感言:#472

taolei0108 commented 5 years ago

学号:054 Username: taolei0108 第二周作业链接: https://github.com/taolei0108/algorithm/tree/master/Week_02/id_54 学习感言:#474

mikejicken commented 5 years ago

学号:41 Username:mikejacken 第二周作业链接:https://github.com/mikejicken/algorithm/tree/master/Week_02/id_41

学习感言:#473

zyterence commented 5 years ago

学号:17 Username:zyterenec 第二周作业:https://github.com/zyterence/algorithm/tree/master/Week_02/id_17

Uriah6140 commented 5 years ago

学号:008 username:Uriah 第二周作业链接:https://github.com/Uriah6140/algorithm/tree/id_08_homework/Week_02/id_8 学习感言:null

xiangfeifei54 commented 5 years ago

学号:077 username:xiangfeifei 作业:id_77 学习感言:【077-week2】第二周学习总结

HongChao6 commented 5 years ago

他的 242 感觉好别致

学习了,拜谢

liuhongchao_00@126.com

发件人: GUOSF 发送时间: 2019-04-28 23:07 收件人: algorithm001/algorithm 抄送: 红桃六; Comment 主题: Re: [algorithm001/algorithm] 算法训练营第二周作业 (#52) 学号:069 username:GradyWong 第二周作业链接:https://github.com/GradyWong/algorithm/tree/master/Week_02/id_69 学习感言:#332 你的242 还简单点。 ― You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

gaoshengnan commented 5 years ago

学号:054 Username: taolei0108 第二周作业链接: https://github.com/taolei0108/algorithm/tree/master/Week_02/id_54 学习感言:#474

总结的挺好的

gaoshengnan commented 5 years ago

学号:81 username:abinbao 第二周作业链接:https://github.com/abinbao/algorithm-1/tree/master/Week_02/id_81 学习感言:#454

写的挺详细的~

gaoshengnan commented 5 years ago

学号:077 username:xiangfeifei 作业:id_77 学习感言:【077-week2】第二周学习总结

总结的很好,很详细

gaoshengnan commented 5 years ago

学号:006 Username:yuqiu-pp 第二周作业链接:https://github.com/yuqiu-pp/algorithm/tree/master/Week_02/id_6 学习感言:#466 看你的总结学习到了很多东西 学习到了,

gaoshengnan commented 5 years ago

学号:012 username: hijkoo 第二周作业链接:https://github.com/hijkoo/algorithm/tree/master/Week_02/id_12 学习感言:#348

写的挺好的!

AndroidQin commented 5 years ago

学号:095 username:AndroidQin 第二周作业链接:https://github.com/AndroidQin/algorithm/tree/master/Week_02/id_95 学习感言:#477

JYSDeveloper commented 5 years ago

学号:103 username:JYSDeveloper 第二周作业链接:代码 学习感言:链接

1005419213zxf commented 5 years ago

学号:115 username:1005419213zxf 第二周作业链接:https://github.com/algorithm001/algorithm/tree/master/Week_02/id_115 学习感言:#378

yimeng commented 5 years ago

学号:128 username:yimeng 第二周作业链接:https://github.com/yimeng/algorithm/tree/master/Week_02/id_128 学习感言:#438

bin-albin commented 5 years ago

收到,谢谢 我会按时到达!

刘彬

邮箱:bin_albin@163.com |

签名由 网易邮箱大师 定制

在2019年05月14日 12:01,yimeng 写道:

学号:128 username:yimeng 第二周作业链接:https://github.com/yimeng/algorithm/tree/master/Week_02/id_128 学习感言:#438

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

wwb4694376 commented 5 years ago

学号:132 Username:wwb4694376 第二周作业链接:https://github.com/wwb4694376/algorithm/tree/master/Week_02/id_132 学习感言:#790

Fanlu91 commented 5 years ago

作业补交(第二周时没有及时补充学习感言内容) 学号:026 UserName:Fanlu91 第二周作业链接:https://github.com/Fanlu91/algorithm/tree/master/Week_02/id_26 学习感言:#380

zhangtianwang commented 5 years ago

作业补交 学号:120 UserName:zhangtianwang 第二周作业链接:https://github.com/zhangtianwang/algorithm/tree/master/Week_02/id_120 学习感言:#828

361028096 commented 5 years ago

学习总结补交 学号:053 username:361028096 第二周作业链接:https://github.com/361028096/algorithm/tree/master/Week_02/id_53 学习感言:#829

flowbywind commented 5 years ago

作业补交 学号:104,username:flowbywind 第二周作业链接:https://github.com/flowbywind/algorithm/tree/master/Week_02/id_104 学习感言: #867

lcfgrn commented 5 years ago

学号:020 Username:lcfgrn 第二周作业链接:https://github.com/lcfgrn/algorithm/tree/master/Week_02/id_20 学习感言:https://github.com/algorithm001/algorithm/issues/894#issue-445824231