Skip to content
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

【135-week #58

Closed
oxcz opened this issue Apr 19, 2019 · 0 comments
Closed

【135-week #58

oxcz opened this issue Apr 19, 2019 · 0 comments

Comments

@oxcz
Copy link
Contributor

oxcz commented Apr 19, 2019

本周投入算法学习的时间有限,碎片时间重读了几篇专栏之外,总共完成了5道较简单的题目。因为周六又有满满的安排,无法进行算法学习,所以在今晚pull作业以及编写总结,希望下周开始可以投入更多时间,完成所有列出的算法题。

上一次刷leetcode已经是好多年前,最近拾起来还有些新手的新鲜感。
本周的收获:

审题非常重要,除了准确理解题目逻辑之外,对题目的范围、潜在边界值都应当格外留意,虽然题目实现不难,但是一次性通过概率并不高,遇到了多次 integer overflow之类的问题。
重点关注思路和方法,不要沉迷于题目本身。做题很多时候是挺有乐趣的,但是此处的乐趣并不一定于效率成正比,有的时候反而会被带入狭隘的想法中。未来希望能够思维更加清晰全面,积攒通用的经验,熟悉经典套路。
练习要与学习原理相结合,做完一类题目要随时做好总结归纳,将算法的精髓提炼出来。
提交代码之后主动记下 时间和空间 排位,为以后优化提供方向,查找不足。

@oxcz oxcz closed this as completed Apr 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant