Algorithm
https://leetcode.com/problems/max-increase-to-keep-city-skyline/

image.png
https://leetcode.com/problems/jewels-and-stones/

image.png
Review
https://www.oreilly.com/ideas/the-eight-rules-of-good-documentation
講了8個(gè)寫文檔的建議
- 清晰明朗(inviting and clear)
- 綜合整個(gè)項(xiàng)目(comprehensive)
- 可以迅速瀏覽(skimmable)
- 寫例子(examples)
- 不要怕重復(fù)(repetition)
- 及時(shí)更新(up-to-date)
- 易于維護(hù)(easy to contribute to)
- 容易找(easy to find)
Tip
Linux查log常用命令
less xxx.log 支持上下翻頁(yè)
G: 到底
g:到頂
?xxx :搜索xxx
N:搜索下一個(gè)
n:搜索上一個(gè)
Share
Java泛型簡(jiǎn)單的使用
泛型經(jīng)常被用作返回類型eg:Response