Tired of doing the same job? Get your hands on GCFA exam It is the nature of the human being that he/she will get tired of doing the same task over an ...
分类:
其他好文 时间:
2019-08-06 19:50:55
阅读次数:
88
Tired of doing the same job? Get your hands on GPYC exam It is the nature of the human being that he/she will get tired of doing the same task over an ...
分类:
其他好文 时间:
2019-08-06 19:49:23
阅读次数:
86
Tired of doing the same job? Get your hands on GCIH exam It is the nature of the human being that he/she will get tired of doing the same task over an ...
分类:
其他好文 时间:
2019-08-06 19:41:54
阅读次数:
78
problem:https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/ 这道题有好几个变种。对于没有cooldown的题目而言,只需要考虑第i天,当前持有股票的最大收益和当前不持有股票的最大收益。而引入 ...
分类:
其他好文 时间:
2019-08-04 19:45:14
阅读次数:
81
problem:https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/ 维护两个状态,一个是当前持有股票状态,一个是当前不持有股票状态,两者分别计算最大值。 在第i天,如果当天不持有股票, ...
分类:
其他好文 时间:
2019-08-04 19:36:31
阅读次数:
89
题意 买股票,中间买卖完一次后必须休息一下,求最大收益 题解 建议观看视频 https://www.bilibili.com/video/av31578180 状态转移图 buy[i] 代表当前持有股票的最大收益 sell[i] 代表当前卖出股票的最大收益 rest[i] 代表当前休息的最大收益 c ...
分类:
其他好文 时间:
2019-08-04 18:03:54
阅读次数:
86
A. Best Subsegment 显然,选择数列中的最大值当做区间(长度为$1$)。只要尝试最大值这个区间是否能扩展(左右两边值是否跟它一样就行了) C. Magic Ship 二分答案。容易看出,时刻符合单调性。若$d$天能到,那么$d + 1$也能到。因为可以保持跟风相反的方向就可以保持不动 ...
分类:
其他好文 时间:
2019-08-04 01:45:15
阅读次数:
109
ref: "Code review Best Practices" 文章将了以下内容: 3w:why、what、when 进行 code review code review 之前的准备 执行 code review CRs 示例 1.为什么进行CR 代码编写者会规范自己的代码,也会觉得复查别人的代 ...
分类:
其他好文 时间:
2019-08-04 00:52:24
阅读次数:
142
SPA:概念 spa指的是single page application 是一种特殊的 Web 应用,就是只有一张Web页面的应用, 它将所有的活动局限于一个Web页面中,仅在该Web页面初始化时加载相应的HTML、JavaScript 和 CSS。一旦页面加载完成了,SPA不会因为用户的操作而进行 ...
分类:
其他好文 时间:
2019-08-03 18:48:23
阅读次数:
324
1. SPA是什么 单页Web应用(single page application,SPA),就是只有一个Web页面的应用, 是加载单个HTML页面,并在用户与应用程序交互时动态更新该页面的Web应用程序 单页面应用程序: 只有第一次会加载页面, 以后的每次请求, 仅仅是获取必要的数据.然后, 由页 ...
分类:
其他好文 时间:
2019-08-03 13:01:11
阅读次数:
63