ARTS-week0
文章目录
每周完成一个ARTS:
1.Algorithm:每周至少做一个 leetcode 的算法题 2.Review:阅读并点评至少一篇英文技术文章 3.Tip:学习至少一个技术技巧 4.Share:分享一篇有观点和思考的技术文章
Algorithm
leetcode-210
Desc
|
|
Analyze
依赖关系转化为有向图之间节点之间关系,问题可以转化图的问题:
根据图的连接关系找出遍历图中所有节点(不能重复) 题目中只需要找出一种可行路径即可
Solution
|
|
Deep
- 如何输出所有的路径
Relation
Review
引入设计调度器追求三个目标:
- 降低Context-switch开销
- 减少调度延迟
- 避免cache miss概率
来自Scheduling In Go : Part I - OS Scheduler
Tip
聪明并且努力却不能成功的七个原因(自查与共勉):
- You don’t reach out to new people 没有主动接触新的朋友
- You are averse to change 逃避改变与挑战
- You’re not willing to take risks 不愿意承担风险
- You believe you deserve success based on credentials 认为自己理应成功
- You constantly go after whatever’s exciting at the moment 总是追求热点
- You can’t commit to a decision 不能做出决定
- You don’t believe in yourself 不相信自己
注:内容来自7 Reasons Why Smart, Hardworking People Don’t Become Successful
Share
(End)
欢迎关注
欢迎关注微信公众帐号:沉风网事(savewind)
文章作者 沉风网事
上次更新 2019-03-08