由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 我到底该如何做leetcode
相关主题
有关Algorithms in Java/C++/C??? 有包子送Recommend a Book about Algorithm?
想狠抓一下数据结构和算法, 请推荐资料对于自学 clrs的来说
Algorithms的书报google offer,和一些总结回报本版
买书给点意见intern2012申请总结
算法书除了算法导论还有什么?请推荐算法的书
分享个EE转软件经历Coursera Robert Sedgewick Algorithms
请问这本算法的书怎么样?LeetCode刷题两遍求内推!
没有算法基础,从哪本书看比较好?求一本书
相关话题的讨论汇总
话题: algorithms话题: structures话题: data话题: edition话题: text
进入JobHunting版参与讨论
1 (共1页)
m**********n
发帖数: 97
1
想问一下拿到offer的大牛,究竟该如何做leetcode?
我第一遍大概做了有100多道题吧,中间因为忙停下来了,今年暑假又重头做了一遍,
现在做了有200多道了,我发现我原来会的题还是会,不会的题还是容易忘记解法,现
在每天刷三题,可是感觉我的进度总是赶不上leetcode新出的题,好有挫败感,想问问
你们,我现在应该停下来把原来的题回顾一下总结一下,还是得继续刷题,可是我怕我
不刷,等再开始刷的时候,有多了100多道题啊。。。
我还是在读phd,不是cs系的,每天还有其他活要干,所以也就能抽出2-3个小时来刷题
j******o
发帖数: 4219
2
背解法没用,你要理解为啥用这种方法比别的方法快
d*********e
发帖数: 352
3
感觉要一鼓作气
走走停停没有效果
m**********n
发帖数: 97
4

有的方法当时理解,可是过后,毕竟不是自己的想法就很容易忘掉。而且有的时候不是
时间复杂度的问题,而是一些问题我连解都不会解,都是看别人的解法。。。

【在 j******o 的大作中提到】
: 背解法没用,你要理解为啥用这种方法比别的方法快
z**********3
发帖数: 11979
5
你需要练内功易筋经

【在 m**********n 的大作中提到】
: 想问一下拿到offer的大牛,究竟该如何做leetcode?
: 我第一遍大概做了有100多道题吧,中间因为忙停下来了,今年暑假又重头做了一遍,
: 现在做了有200多道了,我发现我原来会的题还是会,不会的题还是容易忘记解法,现
: 在每天刷三题,可是感觉我的进度总是赶不上leetcode新出的题,好有挫败感,想问问
: 你们,我现在应该停下来把原来的题回顾一下总结一下,还是得继续刷题,可是我怕我
: 不刷,等再开始刷的时候,有多了100多道题啊。。。
: 我还是在读phd,不是cs系的,每天还有其他活要干,所以也就能抽出2-3个小时来刷题

x*****a
发帖数: 610
6
拿出半个月把introduction to algorithms 3rd 前半部分看了
再做题就会感觉豁然开朗

【在 m**********n 的大作中提到】
: 想问一下拿到offer的大牛,究竟该如何做leetcode?
: 我第一遍大概做了有100多道题吧,中间因为忙停下来了,今年暑假又重头做了一遍,
: 现在做了有200多道了,我发现我原来会的题还是会,不会的题还是容易忘记解法,现
: 在每天刷三题,可是感觉我的进度总是赶不上leetcode新出的题,好有挫败感,想问问
: 你们,我现在应该停下来把原来的题回顾一下总结一下,还是得继续刷题,可是我怕我
: 不刷,等再开始刷的时候,有多了100多道题啊。。。
: 我还是在读phd,不是cs系的,每天还有其他活要干,所以也就能抽出2-3个小时来刷题

s**********x
发帖数: 120
7
我也在刷题,请问 introduction to algorithms 3rd 后半部分需要仔细看吗?动态编
程看完了,后面就是B树,图论。
希望指点一下!
谢谢!

【在 x*****a 的大作中提到】
: 拿出半个月把introduction to algorithms 3rd 前半部分看了
: 再做题就会感觉豁然开朗

d**z
发帖数: 3577
8

----------------------
大学时候来米国,就发现米疣叫兽和作家喜欢故弄玄虚。
常常把简单的东西说成复杂,并且故意忽略关键部分。
而藤校学生也较自负虚荣,不懂装懂,怕被其它同学看衰。
这些叫兽也深谙学生的心理弱点,故意让它们没学到。
但我一般很快就问到关键的东西,每次他们都非常不爽。
愚蠢虚荣的狗蝇被耍了还敬仰万分,赞叫兽们高深莫测。
当然,如果你熟悉盗魔经,这一切都不奇怪,还可以预见。
盗魔经信徒对狗蝇没有好意,尤其最忌聪明本领的狗蝇。
关于上面那本书的评论:
2 star)show all reviews
289 of 307 people found the following review helpful
2.0 out of 5 stars
Magisterial, and impenetrable
ByClinton Staleyon August 29, 2011
Format: Hardcover
I'm a professor of Computer Science at a respected teaching university, and
have been the principal instructor of our introductory algorithms class for
the past several years. I used Cormen (doesn't *everyone*?) for a year or
two, but have finally relegated it to recommended-text status.
On the plus side, the text is, as my review title says, magisterial. It
covers the field comprehensively and authoritatively. When one of the
authors is the "R" in RSA, and others are well-known names, you can count on
the text's expertise and accuracy. I've never found an error in this text.
BUT.... The pedagogy needs work. Explanations tend to jump too quickly to
pure mathematical notation, and there are often insufficient concrete
examples. The pseudocode has one-letter variable names that appear at times
to be randomly generated :). At least the latest edition fixes what was a
baffling indentation style. If you took a sample of 100 CS undergrads and
asked them to learn algorithms principally from this text, I'd venture a
guess that only the 10 brightest could do so. And even they'd be baffled at
times.
I apologize for having to offer such an "emperor is naked" review to such a
highly respected work, but it's time to consider more carefully pedagogical
texts in the undergrad market.
Patrick Kasarski1 year ago
Report abuse
I agree. If you are writing a PhD dissertation this book will be useful. If
you want to learn algorithms as an undergrad or for a job interview, it's
overkill. I would recommend Algorithms by Robert Sedgewick and Kevin Wayne.
It's about 1/4 the length but focuses on the essentials in a way that will
be more immediately useful to mere mortals. If you think you need more
detail then you can always turn to CLRS as a reference. But in most cases,
you don't.
---------------------
I own copies of all of these books btw (a few in digital formats, not all
of them in print) and can personally speak to their quality in offering
clearer, easier-to-understand explanations of algorithms.
- Data Structures In C, by Noel Kalicharan
- Data Structures and Algorithms in C++ (3rd Edition), by Adam Drozdek (can'
t speak to the newer 4th Edition)
- Data Structures and Algorithms in Java (2nd Edition), by Robert Lafore
- Algorithms (4th Edition), by Robert Sedgewick & Kevin Wayne (uses Java)
- Problem Solving with Algorithms and Data Structures Using Python SECOND
EDITION, by Bradley Miller & David Ranum
If you're a college student that has to buy this book for your algorithms
class like I had to, there are a variety of free resources online that
should make the subject easier to learn along the way, like the MIT Open
CourseWare resources on algorithms (course numbers 6.006 and 6.046),
StackOverflow, GeeksforGeeks, and the sheer quantity of lecture slides
available online at other colleges & universities. Coursera regularly has a
free class on the subject as well.
Thank you. On my desk I have the following books that I have read:
"Data Structures & Algorithms in Java" by Lafore
"Algorithms" by Sedgewick
"Programming Pearls" by Bentley
"Advanced Data Structures" by Brass.
Every one of these books is easier to understand than is Cormen. I am
baffled that there are CS instructors who believe that Cormen is the first
choice--it's not. I'm glad I have it to study and I'm also glad that it wasn
't my first exposure to these topics.
Check out "Algorithms" by Dasgupta, Papadimitriou and Vazirani. Free and
legal pdf available online. You will thank me later.
http://www.amazon.com/Introduction-Algorithms-Edition-Thomas-Co

【在 m**********n 的大作中提到】
: 想问一下拿到offer的大牛,究竟该如何做leetcode?
: 我第一遍大概做了有100多道题吧,中间因为忙停下来了,今年暑假又重头做了一遍,
: 现在做了有200多道了,我发现我原来会的题还是会,不会的题还是容易忘记解法,现
: 在每天刷三题,可是感觉我的进度总是赶不上leetcode新出的题,好有挫败感,想问问
: 你们,我现在应该停下来把原来的题回顾一下总结一下,还是得继续刷题,可是我怕我
: 不刷,等再开始刷的时候,有多了100多道题啊。。。
: 我还是在读phd,不是cs系的,每天还有其他活要干,所以也就能抽出2-3个小时来刷题

E*********g
发帖数: 185
9
Thank you for your information!

【在 d**z 的大作中提到】
:
: ----------------------
: 大学时候来米国,就发现米疣叫兽和作家喜欢故弄玄虚。
: 常常把简单的东西说成复杂,并且故意忽略关键部分。
: 而藤校学生也较自负虚荣,不懂装懂,怕被其它同学看衰。
: 这些叫兽也深谙学生的心理弱点,故意让它们没学到。
: 但我一般很快就问到关键的东西,每次他们都非常不爽。
: 愚蠢虚荣的狗蝇被耍了还敬仰万分,赞叫兽们高深莫测。
: 当然,如果你熟悉盗魔经,这一切都不奇怪,还可以预见。
: 盗魔经信徒对狗蝇没有好意,尤其最忌聪明本领的狗蝇。

x*****a
发帖数: 610
10
貌似一般公司面试不会问太高级的数据结构
那些东西代码都比较长,时间不够考的
比如像红黑树这玩艺儿,我觉得就没几个人能不看书写出插入算法,而且也实际中这么
麻烦的东西也没啥人用
图论这东西据说不大考,但我也见过简单的跟图相关的面试题,所以基本概念还是要知
道一下

【在 s**********x 的大作中提到】
: 我也在刷题,请问 introduction to algorithms 3rd 后半部分需要仔细看吗?动态编
: 程看完了,后面就是B树,图论。
: 希望指点一下!
: 谢谢!

s**********x
发帖数: 120
11
谢谢!

【在 x*****a 的大作中提到】
: 貌似一般公司面试不会问太高级的数据结构
: 那些东西代码都比较长,时间不够考的
: 比如像红黑树这玩艺儿,我觉得就没几个人能不看书写出插入算法,而且也实际中这么
: 麻烦的东西也没啥人用
: 图论这东西据说不大考,但我也见过简单的跟图相关的面试题,所以基本概念还是要知
: 道一下

k***e
发帖数: 1931
12
我推荐The Algorithm Design Manual。
1 (共1页)
进入JobHunting版参与讨论
相关主题
求一本书算法书除了算法导论还有什么?
转专业拿到了2015 fall cs硕士录取了,现在要做些什么,有利于明年找实习?分享个EE转软件经历
再问个amazon面试题请问这本算法的书怎么样?
非CS专业,怎么准备Amazon的面试呢?没有算法基础,从哪本书看比较好?
有关Algorithms in Java/C++/C??? 有包子送Recommend a Book about Algorithm?
想狠抓一下数据结构和算法, 请推荐资料对于自学 clrs的来说
Algorithms的书报google offer,和一些总结回报本版
买书给点意见intern2012申请总结
相关话题的讨论汇总
话题: algorithms话题: structures话题: data话题: edition话题: text