-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
算法训练营(上海站)第一周作业 #2
Comments
#作业提交 |
(通过Quote reply,在这里写下你对某位同学代码作业或学习总结的点评) |
#作业提交 |
我略懂些javascript,看到您的代码,思路清晰,还有注释也很全,唯一的问题是好像代码文件命名不符合规则,没有把学号写进去,可参照仓库README的注意事项第1条:代码文件命名规则 |
好的,我改一下,命名规则看漏了 |
#作业提交 |
我不是很懂C++,但是现在没有其他的代码可以review,所以我点进去想看看您的代码,不过目前很遗憾,您的目录里面没有看到代码文件。 |
#作业提交 代码作业在github的链接: |
我就看了 Go 的部分, 感謝提供第 42 題思路。 |
#作业提交 |
#作业提交 |
#作业提交 |
看了您的链表题的做法,用dummy node果然可以简化很多代码,学习了,谢谢。 |
看来我不是很了解dummy node的用法,链表题我要多练练。python的数组可以直接pop出最后一个元素,当stack使用。学到了,谢谢。 |
有些题的做法给了我新的思路,学习了,谢谢。 |
#作业提交 |
#作业提交 |
#作业提交 |
leecode 441 还能这么写,给了我新思路,学习了,谢谢 |
#作业提交 |
您好,您第15题的解题过程平铺直叙,简单易懂,参考您的解题过程对我解这道题目非常有帮助。非常感谢。 |
#作业提交 |
#作业提交 |
貌似C语言也没提供,不过没试着自己去实现,而是转用cpp了。。 |
441也学习了,不过没看懂。。 |
#作业提交 |
个人觉得mergeTwoLists的操作长了点 |
|
赞一个 |
厉害。厉害,赞一个。 |
赞一个 |
赞一个。 |
佩服毅力啊,能完成这么多作业,还能挑战高难度题目。而且能对一个题目作出多种解法,向你学习。 |
格式很合乎规范,就是直接用recursion 这样做方法名是不是不太好,哈哈。 |
位运算解决思路很不错,赞一个。 |
第一周就挑战高难度,佩服佩服。 |
|
看你的每一题的代码都挺简洁的,学习了,谢谢 |
同学用了两种语言,挺厉害的 |
|
|
不错不错,学习了。 |
写得挺好的。 |
|
厉害了,学习。 |
#作业提交 |
最近在学GO,从您代码里学习了 |
学习了 |
厉害厉害 |
脑图不错 |
1 similar comment
脑图不错 |
有启发 |
很认真 |
很认真 |
简洁 |
要求
注意事项
第一周题目
数组、链表
简单:https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array/
简单:https://leetcode-cn.com/problems/rotate-array/
简单:https://leetcode-cn.com/problems/merge-two-sorted-lists/
简单:https://leetcode-cn.com/problems/merge-sorted-array/
中等:https://leetcode-cn.com/problems/swap-nodes-in-pairs/
中等:https://leetcode-cn.com/problems/3sum/
Map & Set
简单:https://leetcode-cn.com/problems/valid-anagram/
中等:https://leetcode-cn.com/problems/group-anagrams/
堆栈、队列
简单:https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string/
简单:https://leetcode-cn.com/problems/remove-outermost-parentheses/
困难:https://leetcode.com/problems/largest-rectangle-in-histogram/
困难:https://leetcode.com/problems/trapping-rain-water/
二分查找
简单:https://leetcode-cn.com/problems/arranging-coins/
中等:https://leetcode-cn.com/problems/powx-n/
困难:https://leetcode-cn.com/problems/dungeon-game/
递归
简单:https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/
简单:https://leetcode-cn.com/problems/symmetric-tree/
简单:https://leetcode-cn.com/problems/minimum-depth-of-binary-tree/
简单:https://leetcode-cn.com/problems/minimum-distance-between-bst-nodes/
简单:https://leetcode-cn.com/problems/binary-tree-paths/
简单:https://leetcode-cn.com/problems/range-sum-of-bst/
中等:https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/
作业提交规则
https://github.com/algorithm002/algorithm/blob/master/README.md
The text was updated successfully, but these errors were encountered: