CS-Notes icon indicating copy to clipboard operation
CS-Notes copied to clipboard

:books: 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计

Results 183 CS-Notes issues
Sort by recently updated
recently updated
newest added

437:新test case中 sum值会超过 Integer.MAX_VALUE 导致不过下面这个test case ``` Input: [1000000000,1000000000,null,294967296,null,1000000000,null,1000000000,null,1000000000] 0 Output: 2 Expected: 0 ``` 新Solution: 可以把 pathSumStartWithRoot input 的int sum改成 long sum ``` public int pathSum(TreeNode root, int sum)...

[中文文案排版指北]网址更新

https://github.com/CyC2018/CS-Notes/blob/master/notes/%E7%AE%97%E6%B3%95%20-%20%E7%AC%A6%E5%8F%B7%E8%A1%A8.md @Override public void delete(Key key) { if (first == null) return; if (first.key.equals(key)) first = first.next; Node pre = first, cur = first.next; while (cur != null) { if...

``` @Override public int rank(Key key) { return rank(key, root); } private int rank(Key key, Node x) { if (x == null) return 0; int cmp = key.compareTo(x.key); if (cmp...

LinkedList 是不支持随机访问的,这里确写成只支持 ![Snipaste_2022-06-21_17-41-47](https://user-images.githubusercontent.com/31821124/174769741-996dc2a4-922a-49d6-b9ab-8652811bf8fc.png)

[计算机基础/Linux/Linu计算机基础/Linux/Linux.html#特性x.html#特性](http://www.cyc2018.xyz/%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%9F%BA%E7%A1%80/Linux/Linux.html#%E7%89%B9%E6%80%A7)中: `ll 是 ls -al 的别名` 应为 `ll 是 ls -l 的别名` ```bash # which ll alias ll='ls -l --color=auto' /usr/bin/ls ```

Hi! I wanted to enquire about an English version of this repo! Would be really helpful if someone could translate it. Thanks in advance.