Code Monkey home page Code Monkey logo

Comments (209)

mayon avatar mayon commented on August 13, 2024 4

#作业提交
学号:024
username:Mayon
代码作业:https://github.com/mayon/algorithm/tree/master/Week_01/id_24
学习总结:#25
使用语言:Python

from algorithm.

Shockang avatar Shockang commented on August 13, 2024 1

#作业提交
学号:012
username:Shockang
代码作业:https://github.com/Shockang/algorithm/tree/master/Week_01/id_12
学习总结:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/学习总结.md
算法脑图:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/数据结构与算法.xmind
使用语言:Java

from algorithm.

James-Ren avatar James-Ren commented on August 13, 2024 1

作业提交

学号:029
username:LIYINGZHEN
代码作业:#16
学习总结:TODO
使用语言:Golang

看了您的链表题的做法,用dummy node果然可以简化很多代码,学习了,谢谢。
提个小建议,针对int的max函数Go标准库没有提供,可以手写一个,比int转成float64,再转回int更好点。我看了别人的代码,自己手写了一个,也不麻烦。

from algorithm.

jackystayfoolish avatar jackystayfoolish commented on August 13, 2024 1

#作业提交
学号:018
username:liveForExperience
代码作业:https://github.com/liveForExperience/algorithm/tree/master/Week_01/id_18
学习总结:#20
使用语言:Java

看了下您242的解答,居然有6种解法,666!

from algorithm.

GeekUniversity avatar GeekUniversity commented on August 13, 2024

#作业提交
学号:000
username:GeekUniversity
代码作业:https://github.com/GeekUniversity/assignment01/blob/master/helloworld.py
学习总结:#1
使用语言:Python

from algorithm.

GeekUniversity avatar GeekUniversity commented on August 13, 2024

#作业提交
学号:000
username:GeekUniversity
代码作业:https://github.com/GeekUniversity/assignment01/blob/master/helloworld.py
学习总结:#1
使用语言:Python

(通过Quote reply,在这里写下你对某位同学代码作业或学习总结的点评)

from algorithm.

zyziyun avatar zyziyun commented on August 13, 2024

#作业提交
学号:039
username:ziyun
代码作业:https://github.com/zyziyun/algorithm/tree/week1/Week_01/id_39
学习总结:#15
使用语言:JavaScript
PR: https://github.com/algorithm002/algorithm/pull/5/files

from algorithm.

James-Ren avatar James-Ren commented on August 13, 2024

#作业提交
学号:039
username:ziyun
代码作业:https://github.com/algorithm002/algorithm/pull/5/files (PR更容易看?)
学习总结:待完成
使用语言:JavaScript
(未完,试一下格式是否正确)

我略懂些javascript,看到您的代码,思路清晰,还有注释也很全,唯一的问题是好像代码文件命名不符合规则,没有把学号写进去,可参照仓库README的注意事项第1条:代码文件命名规则

from algorithm.

zyziyun avatar zyziyun commented on August 13, 2024

#作业提交
学号:039
username:ziyun
代码作业:https://github.com/algorithm002/algorithm/pull/5/files (PR更容易看?)
学习总结:待完成
使用语言:JavaScript
(未完,试一下格式是否正确)

我略懂些javascript,看到您的代码,思路清晰,还有注释也很全,唯一的问题是好像代码文件命名不符合规则,没有把学号写进去,可参照仓库README的注意事项第1条:代码文件命名规则

#作业提交
学号:039
username:ziyun
代码作业:https://github.com/algorithm002/algorithm/pull/5/files (PR更容易看?)
学习总结:待完成
使用语言:JavaScript
(未完,试一下格式是否正确)

我略懂些javascript,看到您的代码,思路清晰,还有注释也很全,唯一的问题是好像代码文件命名不符合规则,没有把学号写进去,可参照仓库README的注意事项第1条:代码文件命名规则

好的,我改一下,命名规则看漏了

from algorithm.

James-Ren avatar James-Ren commented on August 13, 2024

#作业提交
学号:010
username:James-Ren
代码作业:https://github.com/James-Ren/algorithm/tree/master/Week_01/id_10
学习总结:#10
使用语言:Python,Go

from algorithm.

James-Ren avatar James-Ren commented on August 13, 2024

#作业提交
学号:041
username:jianywu
代码作业:https://github.com/Fanlu91/algorithm/tree/master/Week_01/id_41
学习总结:#7
使用语言:Cpp

我不是很懂C++,但是现在没有其他的代码可以review,所以我点进去想看看您的代码,不过目前很遗憾,您的目录里面没有看到代码文件。

from algorithm.

theonerk avatar theonerk commented on August 13, 2024

#作业提交
学号:013
username:rongk
代码作业:https://github.com/theonerk/algorithm/tree/master/Week_01/id_13
学习总结:none
使用语言:nodejs

代码作业在github的链接:
https://github.com/theonerk/algorithm/tree/master/Week_01/id_13

from algorithm.

maxyzli avatar maxyzli commented on August 13, 2024

作业提交

学号:029
username:LIYINGZHEN
代码作业:#16
学习总结:#29
算法腦圖:腦圖
使用语言:Golang

from algorithm.

maxyzli avatar maxyzli commented on August 13, 2024

#作业提交
学号:010
username:James-Ren
代码作业:James-Ren/algorithm:Week_01/id_10@master
学习总结:#10
使用语言:Python,Go

我就看了 Go 的部分, 感謝提供第 42 題思路。

from algorithm.

hhf666feng avatar hhf666feng commented on August 13, 2024

#作业提交
学号:026
username:huanghaifeng
代码作业:https://github.com/hhf666feng/algorithm/tree/master/Week_01/id_26
学习总结: #17
使用语言:Python

from algorithm.

jianywu avatar jianywu commented on August 13, 2024

#作业提交
学号:041
username:jianywu
代码作业:https://github.com/jianywu/algorithm/tree/master/Week_01/id_41
Pull Request: #8
学习总结:#7
使用语言:C++
算法脑图:https://github.com/jianywu/algorithm/blob/master/algo.png

from algorithm.

James-Ren avatar James-Ren commented on August 13, 2024

#作业提交
学号:026
username:huanghaifeng
代码作业:https://github.com/hhf666feng/algorithm/tree/master/Week_01/id_26
学习总结: #17
使用语言:Python

看来我不是很了解dummy node的用法,链表题我要多练练。python的数组可以直接pop出最后一个元素,当stack使用。学到了,谢谢。
没想到你刷了这么多题目,效率真高。

from algorithm.

James-Ren avatar James-Ren commented on August 13, 2024

#作业提交
学号:013
username:rongk
代码作业:https://github.com/theonerk/algorithm/tree/master/Week_01/id_13
学习总结:none
使用语言:nodejs

代码作业在github的链接:
https://github.com/theonerk/algorithm/tree/master/Week_01/id_13

有些题的做法给了我新的思路,学习了,谢谢。

from algorithm.

liveForExperience avatar liveForExperience commented on August 13, 2024

#作业提交
学号:018
username:liveForExperience
代码作业:https://github.com/liveForExperience/algorithm/tree/master/Week_01/id_18
学习总结:#20
使用语言:Java

from algorithm.

thisyears avatar thisyears commented on August 13, 2024

#作业提交
学号:022
username:jzq
代码作业:https://github.com/thisyears/algorithm/tree/master/Week_01/id_22
学习总结:#26
使用语言:JavaScript

from algorithm.

James-Ren avatar James-Ren commented on August 13, 2024

#作业提交
学号:024
username:Mayon
代码作业:https://github.com/mayon/algorithm/tree/master/Week_01/id_24
学习总结:#25
使用语言:Python

leecode 441 还能这么写,给了我新思路,学习了,谢谢

from algorithm.

duoyuli avatar duoyuli commented on August 13, 2024

#作业提交
学号:009
username:hiColors
代码作业:https://github.com/hiColors/algorithm/tree/master/Week_01/id_9
学习总结:#34
使用语言:Java

from algorithm.

liveForExperience avatar liveForExperience commented on August 13, 2024

#作业提交
学号:012
username:Shockang
代码作业:Shockang/algorithm:Week_01/id_12@master
学习总结:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/学习总结.md
算法脑图:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/数据结构与算法.xmind
使用语言:Java

您好,您第15题的解题过程平铺直叙,简单易懂,参考您的解题过程对我解这道题目非常有帮助。非常感谢。

from algorithm.

AAluoxiang avatar AAluoxiang commented on August 13, 2024

#作业提交
学号:001
username:AAluoxiang
代码作业:https://github.com/AAluoxiang/algorithm/tree/master/Week_01/id_1
学习总结:#36
使用语言:Java

from algorithm.

xiaoluome avatar xiaoluome commented on August 13, 2024

#作业提交
学号:036
username:xiaoluome
代码作业:https://github.com/xiaoluome/algorithm/tree/master/Week_01/id_36
学习总结:#40
使用语言:Python

from algorithm.

jianywu avatar jianywu commented on August 13, 2024

作业提交

学号:029
username:LIYINGZHEN
代码作业:#16
学习总结:TODO
使用语言:Golang

看了您的链表题的做法,用dummy node果然可以简化很多代码,学习了,谢谢。
提个小建议,针对int的max函数Go标准库没有提供,可以手写一个,比int转成float64,再转回int更好点。我看了别人的代码,自己手写了一个,也不麻烦。

貌似C语言也没提供,不过没试着自己去实现,而是转用cpp了。。
static inline int max(int a, int b)
{
return (a > b) ? a : b;
}

from algorithm.

jianywu avatar jianywu commented on August 13, 2024

#作业提交
学号:024
username:Mayon
代码作业:https://github.com/mayon/algorithm/tree/master/Week_01/id_24
学习总结:#25
使用语言:Python

leecode 441 还能这么写,给了我新思路,学习了,谢谢

441也学习了,不过没看懂。。

from algorithm.

lection avatar lection commented on August 13, 2024

#作业提交
学号:003
username:lection
代码作业:https://github.com/lection/algorithm-1/tree/master/Week_01/id_3
学习总结:#42
使用语言:Python3

from algorithm.

liveForExperience avatar liveForExperience commented on August 13, 2024

#作业提交
学号:012
username:Shockang
代码作业:Shockang/algorithm:Week_01/id_12@master
学习总结:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/学习总结.md
算法脑图:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/数据结构与算法.xmind
使用语言:Java

您好,您189题3次swap的思路以及exchange方法的实现,对我来说真的是醍醐灌顶,而且您的代码非常的干净易读,非常感谢!

from algorithm.

UCSBGauchos avatar UCSBGauchos commented on August 13, 2024

#作业提交
学号:008
username:UCSBGauchos
代码作业:https://github.com/UCSBGauchos/algorithm/tree/master/Week_01/id_8
学习总结:#24
使用语言:Java
PR: https://github.com/algorithm002/algorithm/pull/23/files

from algorithm.

UCSBGauchos avatar UCSBGauchos commented on August 13, 2024

#作业提交
学号:010
username:James-Ren
代码作业:https://github.com/James-Ren/algorithm/tree/master/Week_01/id_10
学习总结:#10
使用语言:Python,Go

看了你用Go语言写得DFS,觉得写得蛮不错的,思路比较清晰,代码也很简洁。因为我最近也在写Go,所以晚点也可以试一下。

from algorithm.

UCSBGauchos avatar UCSBGauchos commented on August 13, 2024

作业提交

学号:029
username:LIYINGZHEN
代码作业:#16
学习总结:#29
算法腦圖:http://bit.ly/2ZcQRqN
使用语言:Golang

脑图好像打不开,Go语言写得代码很简洁

from algorithm.

UCSBGauchos avatar UCSBGauchos commented on August 13, 2024

#作业提交
学号:009
username:hiColors
代码作业:https://github.com/hiColors/algorithm/tree/master/Week_01/id_9
学习总结:#34
使用语言:Java

看了你的26题目的解法,很简洁,学习了。

from algorithm.

UCSBGauchos avatar UCSBGauchos commented on August 13, 2024

#作业提交
学号:039
username:ziyun
代码作业:https://github.com/zyziyun/algorithm/tree/week1/Week_01/id_39
学习总结:#15
使用语言:JavaScript
PR: https://github.com/algorithm002/algorithm/pull/5/files

也学习一下JS的思路,代码注释很全,好评

from algorithm.

UCSBGauchos avatar UCSBGauchos commented on August 13, 2024

#作业提交
学号:036
username:xiaoluome
代码作业:https://github.com/xiaoluome/algorithm/tree/master/Week_01/id_36
学习总结:#40
使用语言:Python

python代码果然很清爽,晚点也要学python了。很不错的代码。

from algorithm.

zyziyun avatar zyziyun commented on August 13, 2024

#作业提交
学号:010
username:James-Ren
代码作业:https://github.com/James-Ren/algorithm/tree/master/Week_01/id_10
学习总结:#10
使用语言:Python,Go

看了你对多个题目的解,思路清晰,很不错;
我略懂一点python,感觉类似python或者js这种脚本语言写的代码,是不是可以更加简洁一些,该合并的可以合并,可以使用切片等特性的也可以使用(虽然不见得好理解);比如236题的解,前两个判断可以合并返回root,后三个if判断可以合并为三元表达式,代码比较好看~

from algorithm.

zyziyun avatar zyziyun commented on August 13, 2024

#作业提交
学号:026
username:huanghaifeng
代码作业:https://github.com/hhf666feng/algorithm/tree/master/Week_01/id_26
学习总结: #17
使用语言:Python

这位同学很厉害,基本都是使用的最优解,并且代码简洁,尤其是84题,之前一直看不懂题解里面的单调栈的含义,看了你的代码明白了,我也用js写一下多谢了

from algorithm.

liveForExperience avatar liveForExperience commented on August 13, 2024

#作业提交
学号:012
username:Shockang
代码作业:Shockang/algorithm:Week_01/id_12@master
学习总结:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/学习总结.md
算法脑图:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/数据结构与算法.xmind
使用语言:Java

您好,21题的递归简洁清晰,学习了。

from algorithm.

jackystayfoolish avatar jackystayfoolish commented on August 13, 2024

作业提交

学号:037
username:jackystayfoolish
代码作业:https://github.com/jackystayfoolish/algorithm/tree/master/Week_01/id_37
学习总结:#44
算法脑图:https://www.processon.com/view/link/5cfcfa6ae4b071ad5a1cb631
使用语言:Java

from algorithm.

zyziyun avatar zyziyun commented on August 13, 2024

#作业提交
学号:041
username:jianywu
代码作业:https://github.com/jianywu/algorithm/tree/master/Week_01/id_41
Pull Request: #8
学习总结:#7
使用语言:C++
算法脑图:https://github.com/jianywu/algorithm/blob/master/algo.png

我不是很懂C++,感觉和js、py或者java的写法都不是很一样;让我开阔了很多思路,第174题的解法应该是应用了dp求解的吧,很赞~

from algorithm.

zyziyun avatar zyziyun commented on August 13, 2024

#作业提交
学号:012
username:Shockang
代码作业:https://github.com/Shockang/algorithm/tree/master/Week_01/id_12
学习总结:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/学习总结.md
算法脑图:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/数据结构与算法.xmind
使用语言:Java

第15题终止条件判断很简洁,思路清晰,值得学习~

from algorithm.

acd28705 avatar acd28705 commented on August 13, 2024

#作业提交
学号:039
username:ziyun
代码作业:https://github.com/zyziyun/algorithm/tree/week1/Week_01/id_39
学习总结:#15
使用语言:JavaScript
PR: https://github.com/algorithm002/algorithm/pull/5/files

学习了。

from algorithm.

acd28705 avatar acd28705 commented on August 13, 2024

#作业提交
学号:012
username:Shockang
代码作业:https://github.com/Shockang/algorithm/tree/master/Week_01/id_12
学习总结:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/学习总结.md
算法脑图:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/数据结构与算法.xmind
使用语言:Java

第15题终止条件判断很简洁,思路清晰,值得学习~

学习了。

from algorithm.

zyziyun avatar zyziyun commented on August 13, 2024

#作业提交
学号:024
username:Mayon
代码作业:https://github.com/mayon/algorithm/tree/master/Week_01/id_24
学习总结:#25
使用语言:Python

第441题相当简洁,感觉你的python功底很好,虽然对你的这个答案还不是很理解。。。可以解释下么

from algorithm.

jackystayfoolish avatar jackystayfoolish commented on August 13, 2024

#作业提交
学号:012
username:Shockang
代码作业:Shockang/algorithm:Week_01/id_12@master
学习总结:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/学习总结.md
算法脑图:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/数据结构与算法.xmind
使用语言:Java

您好,21题的递归简洁清晰,学习了。

看了下第15题,学习了下3 sum的思路

from algorithm.

liveForExperience avatar liveForExperience commented on August 13, 2024

#作业提交
学号:012
username:Shockang
代码作业:Shockang/algorithm:Week_01/id_12@master
学习总结:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/学习总结.md
算法脑图:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/数据结构与算法.xmind
使用语言:Java

你好,242题的第一个用素数相乘的解法简直太6了,不过在leetcode上出现了BigInteger的编译错误,不知您这边是否也有。

from algorithm.

jackystayfoolish avatar jackystayfoolish commented on August 13, 2024

#作业提交
学号:039
username:ziyun
代码作业:https://github.com/zyziyun/algorithm/tree/week1/Week_01/id_39
学习总结:#15
使用语言:JavaScript
PR: https://github.com/algorithm002/algorithm/pull/5/files
总结的很到位,正向思维很容易想到递归的方法

from algorithm.

liveForExperience avatar liveForExperience commented on August 13, 2024

#作业提交
学号:012
username:Shockang
代码作业:Shockang/algorithm:Week_01/id_12@master
学习总结:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/学习总结.md
算法脑图:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/数据结构与算法.xmind
使用语言:Java

您好,24题的flag=!flag让我想起了自己if else来改变状态的愚蠢代码:D。同时该题的解法受教了!非常感谢!

from algorithm.

wangjunting avatar wangjunting commented on August 13, 2024

#作业提交
学号:019
username:wangjunting
代码作业:https://github.com/wangjunting/algorithm/tree/master/Week_01/id_19
学习总结:#46
使用语言:Java
算法脑图 : https://blog.csdn.net/qq_23589557/article/details/91356646

from algorithm.

mayon avatar mayon commented on August 13, 2024

#作业提交
学号:039
username:ziyun
代码作业:https://github.com/zyziyun/algorithm/tree/week1/Week_01/id_39
学习总结:#15
使用语言:JavaScript
PR: https://github.com/algorithm002/algorithm/pull/5/files

LeetCode_88_39.js 这个题目我做的时候,觉得判断条件太复杂了,但又想不到该怎么改。看了你的代码,才知道该怎么优化,学习了。你好厉害,做了这么多题目。👍

from algorithm.

jackystayfoolish avatar jackystayfoolish commented on August 13, 2024

#作业提交
学号:018
username:liveForExperience
代码作业:https://github.com/liveForExperience/algorithm/tree/master/Week_01/id_18
学习总结:#20
使用语言:Java

参考了21题的解法,没想到递归的解法也可以,学习了!

from algorithm.

liveForExperience avatar liveForExperience commented on August 13, 2024

#作业提交
学号:018
username:liveForExperience
代码作业:liveForExperience/algorithm:Week_01/id_18@master
学习总结:#20
使用语言:Java

看了下您242的解答,居然有6种解法,666!

主要学习了很多解法😄。
也向你推荐这位同学,在review的过程中学习到很多,很多解法看的欲罢不能:
https://github.com/Shockang/algorithm/tree/master/Week_01/id_12

from algorithm.

mayon avatar mayon commented on August 13, 2024

#作业提交
学号:003
username:lection
代码作业:https://github.com/lection/algorithm-1/tree/master/Week_01/id_3
学习总结:#42
使用语言:Python3

看你的代码,还可以学习 Python ,189 那个题你的解题思路超级赞,我现在用了一道循环,但是有用到 Python 自己的插入和删除方法,算法复杂度不敢计算。。我要试着参考你的思路自己写一遍。

from algorithm.

jackystayfoolish avatar jackystayfoolish commented on August 13, 2024

#作业提交
学号:003
username:lection
代码作业:https://github.com/lection/algorithm-1/tree/master/Week_01/id_3
学习总结:#42
使用语言:Python3

总结很到位,共勉

from algorithm.

flamencoy avatar flamencoy commented on August 13, 2024

#作业提交
学号:033
username:flamencoy
代码作业:https://github.com/flamencoy/algorithm/tree/master/Week_01/id_33
学习总结:#33
使用语言:Java

from algorithm.

mayon avatar mayon commented on August 13, 2024

#作业提交
学号:036
username:xiaoluome
代码作业:https://github.com/xiaoluome/algorithm/tree/master/Week_01/id_36
学习总结:#40
使用语言:Python

看了下你 26 的解法,变量比我少,判断条件比我简洁,学习了

from algorithm.

wangjunting avatar wangjunting commented on August 13, 2024

(1) 26题 while 循环里面的我觉的可以精简如下:
while (x<nums.length) {
if (nums[x] != nums[x - 1]) {
if (x != (++y)) {
nums[y] = nums[x++];
}
}
}

from algorithm.

mayon avatar mayon commented on August 13, 2024

#作业提交
学号:026
username:huanghaifeng
代码作业:https://github.com/hhf666feng/algorithm/tree/master/Week_01/id_26
学习总结: #17
使用语言:Python

你居然把所有题目都刷了,厉害啊,为你感到骄傲,不愧是我们组的学习委员😁,我要向你学习

from algorithm.

flamencoy avatar flamencoy commented on August 13, 2024

#作业提交
学号:012
username:Shockang
代码作业:https://github.com/Shockang/algorithm/tree/master/Week_01/id_12
学习总结:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/学习总结.md
算法脑图:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/数据结构与算法.xmind
使用语言:Java

24题:建议把head的判断放在recursion中,看起来会更简洁些~

from algorithm.

flamencoy avatar flamencoy commented on August 13, 2024

#作业提交
学号:018
username:liveForExperience
代码作业:https://github.com/liveForExperience/algorithm/tree/master/Week_01/id_18
学习总结:#20
使用语言:Java

104 代码简洁明了 学习了~

from algorithm.

flamencoy avatar flamencoy commented on August 13, 2024

#作业提交
学号:009
username:hiColors
代码作业:https://github.com/hiColors/algorithm/tree/master/Week_01/id_9
学习总结:#34
使用语言:Java

104题 最后node.left 和 node.right的判空 感觉可以去掉

from algorithm.

mayon avatar mayon commented on August 13, 2024

#作业提交
学号:018
username:liveForExperience
代码作业:https://github.com/liveForExperience/algorithm/tree/master/Week_01/id_18
学习总结:#20
使用语言:Java

居然 review 到相同思路的代码,441 那题,我的解三跟你的解一思路应该比较类似,不过代码没有你的简洁,哈哈。学习了

from algorithm.

mayon avatar mayon commented on August 13, 2024

#作业提交
学号:024
username:Mayon
代码作业:https://github.com/mayon/algorithm/tree/master/Week_01/id_24
学习总结:#25
使用语言:Python

第441题相当简洁,感觉你的python功底很好,虽然对你的这个答案还不是很理解。。。可以解释下么

就是二元一次不等式求范围,取最小整数。我刚才 review 时看到一个同学的思路跟我类似,但是他的代码更加简洁易懂,你可以看一下 https://github.com/liveForExperience/algorithm/blob/master/Week_01/id_18/LeetCode_441_18.java

ps:至于 Python,是我这周刚学的O(∩_∩)O哈!

from algorithm.

flamencoy avatar flamencoy commented on August 13, 2024

#作业提交
学号:001
username:AAluoxiang
代码作业:https://github.com/AAluoxiang/algorithm/tree/master/Week_01/id_1
学习总结:#36
使用语言:Java

我看到你基本上每到算法题都把各种解法和思路写的很清晰 要向你学习了哈

from algorithm.

tripleSim avatar tripleSim commented on August 13, 2024

#作业提交
学号:030
username:tripleSim
代码作业:https://github.com/tripleSim/algorithm/tree/master/Week_01/id_30
学习总结: #50
使用语言:C++

from algorithm.

gaoshengnan avatar gaoshengnan commented on August 13, 2024

#作业提交
学号:101
username:gaoshengnan
代码作业:https://github.com/gaoshengnan/algorithm-2/tree/master/Week_01/id_101
学习总结: #51
使用语言:Java

from algorithm.

liujianbo avatar liujianbo commented on August 13, 2024

#作业提交
学号:038
username:liujianbo
代码作业:https://github.com/liujianbo/algorithm/tree/master/Week_01/id_38
学习总结:#49
使用语言:Java

from algorithm.

gaoshengnan avatar gaoshengnan commented on August 13, 2024

#作业提交
学号:030
username:tripleSim
代码作业:https://github.com/tripleSim/algorithm/tree/master/Week_01/id_30
学习总结: #50
使用语言:C++

做的题目挺多的,另外算法导图画的挺好的,赞!

from algorithm.

wangjunting avatar wangjunting commented on August 13, 2024

#作业提交
学号:036
username:xiaoluome
代码作业:https://github.com/xiaoluome/algorithm/tree/master/Week_01/id_36
学习总结:#40
使用语言:Python

看了下你 26 的解法,变量比我少,判断条件比我简洁,学习了
看了下,和我的思路一样,Python 感觉比Java更简洁一些

from algorithm.

flamencoy avatar flamencoy commented on August 13, 2024

#作业提交
学号:101
username:gaoshengnan
代码作业:https://github.com/gaoshengnan/algorithm-2/tree/master/Week_01/id_101
学习总结: #51
使用语言:Java

代码清晰明了,并且写明了各种算法的复杂度,学习了~

from algorithm.

gaoshengnan avatar gaoshengnan commented on August 13, 2024

#作业提交
学号:001
username:AAluoxiang
代码作业:https://github.com/AAluoxiang/algorithm/tree/master/Week_01/id_1
学习总结:#36
使用语言:Java

我看到你基本上每到算法题都把各种解法和思路写的很清晰 要向你学习了哈

加油,大家一起做有意义的事情,我也是,看到超过人数较少,就会感觉代码很 low,然后去优化,另外总结的三种**很赞

from algorithm.

gaoshengnan avatar gaoshengnan commented on August 13, 2024

#作业提交
学号:018
username:liveForExperience
代码作业:https://github.com/liveForExperience/algorithm/tree/master/Week_01/id_18
学习总结:#20
使用语言:Java

参考了21题的解法,没想到递归的解法也可以,学习了!

每道题都有多种解法,超赞,向你学习!

from algorithm.

wangjunting avatar wangjunting commented on August 13, 2024

#作业提交
学号:038
username:liujianbo
代码作业:https://github.com/liujianbo/algorithm/tree/master/Week_01/id_38
学习总结:#49
使用语言:Java

感觉每题都写下要点,时间复杂度和空间复杂度,这个很好,像你学习。

from algorithm.

gaoshengnan avatar gaoshengnan commented on August 13, 2024

#作业提交
学号:033
username:flamencoy
代码作业:https://github.com/flamencoy/algorithm/tree/master/Week_01/id_33
学习总结:#33
使用语言:Java

加油,只要坚持住,一定会越来越厉害的

from algorithm.

gaoshengnan avatar gaoshengnan commented on August 13, 2024

#作业提交
学号:019
username:wangjunting
代码作业:https://github.com/wangjunting/algorithm/tree/master/Week_01/id_19
学习总结:#46
使用语言:Java
算法脑图 : https://blog.csdn.net/qq_23589557/article/details/91356646

脑图画的挺好的,思路很清晰

from algorithm.

gaoshengnan avatar gaoshengnan commented on August 13, 2024

#作业提交
学号:009
username:hiColors
代码作业:https://github.com/hiColors/algorithm/tree/master/Week_01/id_9
学习总结:#34
使用语言:Java

其实刷的题多了,可能就不会看到题一脸懵了,至少会有一些想法

from algorithm.

gaoshengnan avatar gaoshengnan commented on August 13, 2024

#作业提交
学号:012
username:Shockang
代码作业:https://github.com/Shockang/algorithm/tree/master/Week_01/id_12
学习总结:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/学习总结.md
算法脑图:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/数据结构与算法.xmind
使用语言:Java

解题小技巧很实用!

from algorithm.

wangjunting avatar wangjunting commented on August 13, 2024

#作业提交
学号:101
username:gaoshengnan
代码作业:https://github.com/gaoshengnan/algorithm-2/tree/master/Week_01/id_101
学习总结: #51
使用语言:Java

同样的思路,同样的语言,感觉你写的比我写的简介易懂了很多。

from algorithm.

wangjunting avatar wangjunting commented on August 13, 2024

#作业提交
学号:101
username:gaoshengnan
代码作业:https://github.com/gaoshengnan/algorithm-2/tree/master/Week_01/id_101
学习总结: #51
使用语言:Java

同样的思路,同样的语言,感觉你写的比我写的简介易懂了很多。
加上参数异常检查就更完美了

from algorithm.

liliangzisweet avatar liliangzisweet commented on August 13, 2024

#作业提交
学号:002
username:liliangzisweet
代码作业:https://github.com/liliangzisweet/algorithm/tree/master/Week_01/id_2
学习总结:#52
使用语言:Java

from algorithm.

wangjunting avatar wangjunting commented on August 13, 2024

#作业提交
学号:038
username:liujianbo
代码作业:https://github.com/liujianbo/algorithm/tree/master/Week_01/id_38
学习总结:#49
使用语言:Java

#作业提交
学号:038
username:liujianbo
代码作业:https://github.com/liujianbo/algorithm/tree/master/Week_01/id_38
学习总结:#49
使用语言:Java

242题巧妙的用一个数组来记录每个字母对应的个数的变化。

from algorithm.

AAluoxiang avatar AAluoxiang commented on August 13, 2024

#作业提交
学号:012
username:Shockang
代码作业:https://github.com/Shockang/algorithm/tree/master/Week_01/id_12
学习总结:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/学习总结.md
算法脑图:https://github.com/Shockang/algorithm/blob/master/Week_01/id_12/数据结构与算法.xmind
使用语言:Java

这位大兄弟是从C类语言转过来的吗? 代码格式看的有些眼花缭乱,我也是java开发 ;
看了一下88 题的解法,实现应该是ok的,但while循环里面嵌套这多层 if else 真的好吗?

from algorithm.

HugoWen avatar HugoWen commented on August 13, 2024

#作业提交
学号:6
username:Hugo
代码作业:https://github.com/HugoWen/algorithm-1/tree/master/Week_01/id_6
学习总结:#55
算法脑图:https://github.com/HugoWen/algorithm-1/blob/master/Week_01/id_6/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95%E6%80%9D%E7%BB%B4%E5%AF%BC%E5%9B%BE.pdf
使用语言:PHP

from algorithm.

duoyuli avatar duoyuli commented on August 13, 2024

#作业提交
学号:038
username:liujianbo
代码作业:https://github.com/liujianbo/algorithm/tree/master/Week_01/id_38
学习总结:#49
使用语言:Java

50 题答案有点问题,注意审题。

from algorithm.

liliangzisweet avatar liliangzisweet commented on August 13, 2024

#作业提交
学号:001
username:AAluoxiang
代码作业:https://github.com/AAluoxiang/algorithm/tree/master/Week_01/id_1
学习总结:#36
使用语言:Java

组长好认真,做了很多题目,给了很多解法还有复杂度分析,代码也很工整和规范,向你学习。

from algorithm.

AAluoxiang avatar AAluoxiang commented on August 13, 2024

#作业提交
学号:101
username:gaoshengnan
代码作业:https://github.com/gaoshengnan/algorithm-2/tree/master/Week_01/id_101
学习总结: #51
使用语言:Java

189题的数组反转解法2很巧妙,解法1应该普遍能够想到的,往右移 N 步;
但其实解法2真的很难想,第一步就整个反转过来,然后再从移动的步数作为节点,左右两边分别反转,当时看到这个答案简直惊呆了,还能这么做,国际版的LeetCode 真的超级强大

from algorithm.

zzhengjian avatar zzhengjian commented on August 13, 2024

#作业提交
学号:011
username:liliangzisweet
代码作业:https://github.com/zzhengjian/algorithm/tree/master/Week_01/id_11
学习总结:#62
使用语言:Js

from algorithm.

AAluoxiang avatar AAluoxiang commented on August 13, 2024

#作业提交
学号:001
username:AAluoxiang
代码作业:https://github.com/AAluoxiang/algorithm/tree/master/Week_01/id_1
学习总结:#36
使用语言:Java

我看到你基本上每到算法题都把各种解法和思路写的很清晰 要向你学习了哈

加油,大家一起做有意义的事情,我也是,看到超过人数较少,就会感觉代码很 low,然后去优化,另外总结的三种**很赞

一起加油,刷题可以体现出来的是:超过人数与代码质量成正比

from algorithm.

liujianbo avatar liujianbo commented on August 13, 2024

#作业提交
学号:001
username:AAluoxiang
代码作业:https://github.com/AAluoxiang/algorithm/tree/master/Week_01/id_1
学习总结:#36
使用语言:Java

每题的多种解法都很详细,厉害了。还有暴力法超时的不少。

from algorithm.

AAluoxiang avatar AAluoxiang commented on August 13, 2024

#作业提交
学号:001
username:AAluoxiang
代码作业:https://github.com/AAluoxiang/algorithm/tree/master/Week_01/id_1
学习总结:#36
使用语言:Java

组长好认真,做了很多题目,给了很多解法还有复杂度分析,代码也很工整和规范,向你学习。

在努力的尝试多种思路的解法,尝试着分析它们之间的复杂度,这样才能更好的清楚哪种方法是比较好的。
想了想,其实很重要的是第一感觉,第一感觉出来的之后,我是先把题目解出来,尽量优化后再死磕到底

from algorithm.

duoyuli avatar duoyuli commented on August 13, 2024

#作业提交
学号:001
username:AAluoxiang
代码作业:https://github.com/AAluoxiang/algorithm/tree/master/Week_01/id_1
学习总结:#36
使用语言:Java

很优秀,很多题都写出了多种解法,向大佬学习。

from algorithm.

AAluoxiang avatar AAluoxiang commented on August 13, 2024

#作业提交
学号:001
username:AAluoxiang
代码作业:https://github.com/AAluoxiang/algorithm/tree/master/Week_01/id_1
学习总结:#36
使用语言:Java

每题的多种解法都很详细,厉害了。还有暴力法超时的不少。

很多题目的第一想法就是使用暴力法来解决问题,一些题目都超时了,特别是 3数之和那一题,暴力法超时了一上午,各种剪枝都剪不尽,当时都气死我了。

from algorithm.

liliangzisweet avatar liliangzisweet commented on August 13, 2024

#作业提交
学号:018
username:liveForExperience
代码作业:https://github.com/liveForExperience/algorithm/tree/master/Week_01/id_18
学习总结:#20
使用语言:Java

您的思维导图画的十分详尽,结合了老师的课件和自己的思路,向你学习

from algorithm.

duoyuli avatar duoyuli commented on August 13, 2024

#作业提交
学号:101
username:gaoshengnan
代码作业:https://github.com/gaoshengnan/algorithm-2/tree/master/Week_01/id_101
学习总结: #51
使用语言:Java

代码写的很好,唯一需要注意 documentation 的规范。

from algorithm.

AAluoxiang avatar AAluoxiang commented on August 13, 2024

#作业提交
学号:009
username:hiColors
代码作业:https://github.com/hiColors/algorithm/tree/master/Week_01/id_9
学习总结:#34
使用语言:Java

代码很简洁且清晰,很舒服的格式

from algorithm.

liujianbo avatar liujianbo commented on August 13, 2024

#作业提交
学号:002
username:liliangzisweet
代码作业:https://github.com/liliangzisweet/algorithm/tree/master/Week_01/id_2
学习总结:#52
使用语言:Java

15题最开始也是跟同学想的一样,用的暴力解法,最终遇到两个问题:1.返回结果没有去重,与题目要求不符合;2.超出限制,部分小的测试数据可以通过,大量数据就会超限。还有感觉命名相较于高手有点不够简洁直观。

from algorithm.

liliangzisweet avatar liliangzisweet commented on August 13, 2024

https://github.com/liujianbo/algorithm/tree/master/Week_01/id_38

50题没有考虑负数的情况。

from algorithm.

AAluoxiang avatar AAluoxiang commented on August 13, 2024

#作业提交
学号:038
username:liujianbo
代码作业:https://github.com/liujianbo/algorithm/tree/master/Week_01/id_38
学习总结:#49
使用语言:Java

代码写的很好,so cool. 都是简洁清晰的那种

from algorithm.

duoyuli avatar duoyuli commented on August 13, 2024

#作业提交
学号:010
username:James-Ren
代码作业:https://github.com/James-Ren/algorithm/tree/master/Week_01/id_10
学习总结:#10
使用语言:Python,Go

用 Python 和 Go 写,很优秀,向大佬学习。

from algorithm.

liliangzisweet avatar liliangzisweet commented on August 13, 2024

#作业提交
学号:001
username:AAluoxiang
代码作业:https://github.com/AAluoxiang/algorithm/tree/master/Week_01/id_1
学习总结:#36
使用语言:Java

每题的多种解法都很详细,厉害了。还有暴力法超时的不少。

很多题目的第一想法就是使用暴力法来解决问题,一些题目都超时了,特别是 3数之和那一题,暴力法超时了一上午,各种剪枝都剪不尽,当时都气死我了。

三数之和那道题我是参考了discussion,自己写也是暴力超时。

from algorithm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.