profile
viewpoint

CyC2018/CS-Notes 91930

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

CyC2018/Job-Recommend 1582

🔎 互联网内推信息(社招、校招、实习)

CyC2018/Backend-Interview-Guide 740

💯后端面试进阶指南

CyC2018/Markdown-Resume 740

⭐️ Markdown 简历模版

CyC2018/Algorithm 238

:pencil2: Useful Algorithm Implementation

CyC2018/Design-Patterns 190

:key: Gof Design Patterns Implementation

CyC2018/Text-Typesetting 160

:art: 中英混排文档在线排版工具

CyC2018/MBlog 154

:sweat_drops: 微博系统实现

CyC2018/GFM-Converter 116

:zap: Convert Common Markdown into Github Flavored Markdown.

CyC2018/Dark-Theme-Leetcode 65

:first_quarter_moon_with_face: Relax Your Eyes

issue closedCyC2018/CS-Notes

Maven 仓库的搜索顺序有误

CS-Notes-构建工具-Maven-仓库 仓库的搜索顺序为:本地仓库、中央仓库、远程仓库。 应该改为: 仓库的搜索顺序为:本地仓库、远程仓库、中央仓库。

closed time in 2 days

Jiebupup

PR closed CyC2018/CS-Notes

Update 计算机操作系统 - 概述.md

underline some important tips

+1 -1

0 comment

1 changed file

csyujian

pr closed time in 3 days

push eventCyC2018/CS-Notes

CyC2018

commit sha cc95085c41cc5cb79604ac4ee22588824b6c45af

auto commmit

view details

CyC2018

commit sha 45c069cfd266e8f6662ee731f493a1f527d90bb1

Merge branch 'master' of https://github.com/CyC2018/CS-Notes merge

view details

push time in 3 days

push eventCyC2018/CS-Notes

Xu Yan

commit sha 26267844b61d5436f366b6ada0188fa958e60cab

Update Leetcode-Database fix a typo

view details

Xu Yan

commit sha 94daf607e57902e0241a5b0658f6f39aee3c8283

Merge pull request #1 from xuyanMax/xuyanMax-patch-1 Update Leetcode-Database

view details

CyC2018

commit sha 2ee892a5ee1bb5a4224914887e8f4e1e18ad0197

Merge pull request #857 from xuyanMax/master Update Leetcode-Database.md

view details

push time in 3 days

PR merged CyC2018/CS-Notes

Update Leetcode-Database.md

fix a type for 178. Rank Scores

+1 -1

0 comment

1 changed file

xuyanMax

pr closed time in 3 days

issue commentCyC2018/CS-Notes

关于剑指offer篇中第一个算法‘’数组中重复的数字的‘’实际复杂度问题

@1005568045 最多只会遍历数组元素一次。

1005568045

comment created time in 3 days

issue commentCyC2018/CS-Notes

Leetcode中不再支持Java Pair

@zzzzk12345 试了一下,现在还是可以提交的哈。

zzzzk12345

comment created time in 3 days

push eventCyC2018/CS-Notes

CyC2018

commit sha e3793d43eaeb749e5293e8b8b746a51fc6796970

auto commmit

view details

push time in 3 days

issue commentCyC2018/CS-Notes

Leetcode中不再支持Java Pair

@zzzzk12345 哪题不行呢?

zzzzk12345

comment created time in 3 days

issue commentCyC2018/CS-Notes

剑指Offer重建二叉树一节有图挂了

@gakei 建议使用 https://cyc2018.github.io/CS-Notes/#/ 阅读哈。

gakei

comment created time in 3 days

issue closedCyC2018/CS-Notes

很多图片无法加载

图片无法加载是图片来源的问题还是我的网络问题?

closed time in 3 days

AIstudentSH

issue commentCyC2018/CS-Notes

很多图片无法加载

@AIstudentSH 建议使用 https://cyc2018.github.io/CS-Notes/#/ 阅读哈。

AIstudentSH

comment created time in 3 days

issue closedCyC2018/CS-Notes

图片失效

https://github.com/CyC2018/CS-Notes/blob/master/notes/MySQL.md

closed time in 3 days

Golphing

issue commentCyC2018/CS-Notes

图片失效

@Golphing 建议使用 https://cyc2018.github.io/CS-Notes/#/

Golphing

comment created time in 3 days

issue closedCyC2018/CS-Notes

leetCode说明错误

在CS-Notes中的算法中LeetCode题解的位运算中,位运算与位运算技巧,n-n&(~n+1) 应该是去除 n 的位级表示中最低的那一位1。

closed time in 3 days

HeavenlyCourt

issue openedCyC2018/CS-Notes

图片失效或者访问速度慢

建议移步:https://cyc2018.github.io/CS-Notes/,访问速度更稳定,而且在 PC 端和移动端的阅读体验更佳。

created time in 3 days

push eventCyC2018/CS-Notes

CyC2018

commit sha a5697cd803de1dbd2cbf0350a1825ccea39c0b39

auto commmit

view details

push time in 3 days

issue commentCyC2018/CS-Notes

leetCode说明错误

@HeavenlyCourt @BowenHou1997 已修改,谢谢指正。🙏

HeavenlyCourt

comment created time in 3 days

issue commentCyC2018/CS-Notes

Maven 仓库的搜索顺序有误

@Jiebupup

Step 1 − Search dependency in local repository, if not found, move to step 2 else perform the further processing.

Step 2 − Search dependency in central repository, if not found and remote repository/repositories is/are mentioned then move to step 4. Else it is downloaded to local repository for future reference.

Step 3 − If a remote repository has not been mentioned, Maven simply stops the processing and throws error (Unable to find dependency).

Step 4 − Search dependency in remote repository or repositories, if found then it is downloaded to local repository for future reference. Otherwise, Maven stops processing and throws error (Unable to find dependency).

http://www.tutorialspoint.com/maven/maven_repositories.htm

Jiebupup

comment created time in 3 days

issue commentCyC2018/CS-Notes

剑指Offer重建二叉树一节有图挂了

@gakei 有开代理吗?

gakei

comment created time in 3 days

push eventCyC2018/CS-Notes

CyC2018

commit sha aaca65ae6a84dac531597174cb1b496d98060759

auto commmit

view details

push time in 3 days

issue closedCyC2018/CS-Notes

Java虚拟机一块类加载的#5初始化标题少了空格

Java虚拟机 Java虚拟机一块类加载的#5初始化标题少了空格,导致标题没有显示出来

closed time in 3 days

Aaron-cdx

issue commentCyC2018/CS-Notes

Java虚拟机一块类加载的#5初始化标题少了空格

@Aaron-cdx 已修改,谢谢指正。🙏

Aaron-cdx

comment created time in 3 days

issue closedCyC2018/CS-Notes

缓存那一块最后的一个LRU算法是有问题的吧

执行如下一段代码发现输出并非我们想要的啊。我一行代码没改。。

public static void main(String[] args) { // LRUCacheGeneric<Integer,Integer> cacheGeneric = new LRUCacheGeneric<>(); LRU<Integer,Integer> cacheGeneric = new LRU<>(3); cacheGeneric.put(1,1); cacheGeneric.put(2,2); cacheGeneric.put(3,3); System.out.println("init display"); displayIterator(cacheGeneric); cacheGeneric.get(1); System.out.println("get 1 display"); displayIterator(cacheGeneric); cacheGeneric.put(4,4); System.out.println("put 4 display"); displayIterator(cacheGeneric); // System.out.println(cacheGeneric.getMap()); } public static void displayIterator(LRU<Integer,Integer> map){ Iterator<Integer> it = map.iterator(); while (it.hasNext()){ System.out.print(map.get(it.next())+" "); } System.out.println(); }

closed time in 3 days

21kl

issue commentCyC2018/CS-Notes

缓存那一块最后的一个LRU算法是有问题的吧

@21kl 哈哈没问题就好

21kl

comment created time in 3 days

issue commentCyC2018/CS-Notes

很多图片无法加载

@AIstudentSH 有开代理吗?

AIstudentSH

comment created time in 3 days

issue commentCyC2018/CS-Notes

图片失效

@Golphing 有开代理吗?最近 Github 访问速度很慢,开了代理就好。

Golphing

comment created time in 3 days

issue closedCyC2018/CS-Notes

大佬,Java基础中的第八章泛型和第九章异常的链接挂掉了

Java 异常的面试问题及答案 -Part 1 http://www.importnew.com/7383.html

Java 泛型详解 http://www.importnew.com/24029.html

closed time in 3 days

Ginnna

issue commentCyC2018/CS-Notes

大佬,Java基础中的第八章泛型和第九章异常的链接挂掉了

@Ginnna importnew 网址挂了,网上找找类似的就行哈

Ginnna

comment created time in 3 days

issue commentCyC2018/CS-Notes

grep那里-c是统计匹配到行的个数,不是匹配成功的个数

@1013374315 已修改,谢谢指正。🙏

1013374315

comment created time in 3 days

push eventCyC2018/CS-Notes

CyC2018

commit sha 9f638393f1bdbaf7dd653bda5dab06b906ffce76

auto commmit

view details

push time in 3 days

issue closedCyC2018/CS-Notes

Linux-九、正则表达式-grep

示例:正则表达式 a{m,n} 用来匹配字符 a m~n 次,这里需要将 { 和 } 进行 转移 ,因为它们在 shell 是有特殊意义的。

转移 应该是 转义

closed time in 3 days

Wonz5130

issue commentCyC2018/CS-Notes

Linux-九、正则表达式-grep

@Wonz5130 已修改,谢谢指正。🙏

Wonz5130

comment created time in 3 days

push eventCyC2018/CS-Notes

CyC2018

commit sha ac30321c2135bb60202428dec2f746b4b641bb5f

auto commmit

view details

push time in 3 days

push eventCyC2018/CS-Notes

CyC2018

commit sha 4994aea8bbaab58dc9d34524bcc80706341a89cc

auto commit

view details

push time in 3 days

pull request commentCyC2018/Job-Recommend

增加虎牙 2020 届校招正式批

@huihut done

huihut

comment created time in 3 days

push eventCyC2018/Job-Recommend

huihut

commit sha 59e43efdd6852075e5f9a0cb5132e7571a2dfd40

Merge pull request #4 from CyC2018/master Merge

view details

huihut

commit sha bba25fd488c8a27ae767596e890b81208207afe1

增加虎牙 2020 届校招正式批

view details

huihut

commit sha 8a0ac7399df03538cde22f7852afd21d34cc9e8a

Merge branch 'master' of https://github.com/huihut/Job-Recommend

view details

huihut

commit sha eafa8c5bfe223724ee8e3169ea5a8e7bdc8ebe2e

适应 gen.sh 方式生成

view details

CyC2018

commit sha 24ca736f987b4105459314cabb73a2de1b9a467b

Merge pull request #39 from huihut/master 增加虎牙 2020 届校招正式批

view details

push time in 3 days

issue commentCyC2018/Job-Recommend

关于内推问题

@xwr96 内推人更新就会更新

xwr96

comment created time in 3 days

push eventCyC2018/Job-Recommend

Zhongzhou Han

commit sha b16c6d3f41f1e8240bab21d973b66062145635ff

Update 阿里巴巴.md

view details

CyC2018

commit sha 3534f53a4fd656abb8dcd56de1b1e0388d777b83

Merge pull request #40 from hzz041120/patch-1 Update 阿里巴巴.md

view details

push time in 3 days

PR merged CyC2018/Job-Recommend

Update 阿里巴巴.md

add one more job

+16 -0

0 comment

1 changed file

hzz041120

pr closed time in 3 days

pull request commentCyC2018/Job-Recommend

Update 旷视.md

@youzeliang done

youzeliang

comment created time in 3 days

push eventCyC2018/Job-Recommend

youzeliang

commit sha 0e880c6c6c48554ef3583805733f3baef2332553

Update 旷视.md update email

view details

CyC2018

commit sha 9bba59dc0834f221f8e1c0535e44de613a56e45e

Merge pull request #47 from youzeliang/patch-1 Update 旷视.md

view details

push time in 3 days

PR merged CyC2018/Job-Recommend

Update 旷视.md

update email

+1 -1

0 comment

1 changed file

youzeliang

pr closed time in 3 days

push eventCyC2018/CS-Notes

push time in 17 days

PR closed CyC2018/CS-Notes

create 123
+1 -0

1 comment

1 changed file

1013374315

pr closed time in 17 days

PR closed CyC2018/CS-Notes

Update Leetcode 题解 - 哈希表.md
+7 -1

0 comment

1 changed file

cj9208

pr closed time in 17 days

push eventCyC2018/CS-Notes

CyC2018

commit sha 2c6a729ab8ef0d0fd6609f329ee2604d925f916f

auto commmit

view details

push time in 17 days

PR closed CyC2018/CS-Notes

Update 计算机操作系统 - 进程管理.md

哲学家进餐问题那里少了个 think函数

+7 -0

0 comment

1 changed file

Awakeyoyoyo

pr closed time in 2 months

PR closed CyC2018/CS-Notes

Update 计算机操作系统 - 进程管理.md

进程管理-哲学家进餐问题列出的代码 少了一个think函数

+5 -0

1 comment

1 changed file

Awakeyoyoyo

pr closed time in 2 months

pull request commentCyC2018/CS-Notes

Update 计算机操作系统 - 进程管理.md

@Awakeyoyoyo think 操作不需要同步。

Awakeyoyoyo

comment created time in 2 months

PR closed CyC2018/CS-Notes

formated
+1 -0

0 comment

1 changed file

arrowfeng

pr closed time in 2 months

push eventCyC2018/CS-Notes

CyC2018

commit sha f84b14041830ea38f1f2eb6061c3722aedc0e836

auto commit

view details

push time in 2 months

issue commentCyC2018/CS-Notes

IO复用的select的文件描述符限制的表达问题

@Felyne 只能监听少于 FD_SETSIZE

Felyne

comment created time in 2 months

issue commentCyC2018/CS-Notes

关于算法动画

@ZainZhao 用 Screen2Gif 做动图

ZainZhao

comment created time in 2 months

issue commentCyC2018/CS-Notes

我想请教一下,你的图用draw.io的什么样式,很好看

@OUZHANBO 没有现成样式,自己调。

OUZHANBO

comment created time in 2 months

issue commentCyC2018/CS-Notes

请问那些框图是用什么软件画的?

@cai2yy draw.io

cai2yy

comment created time in 2 months

issue closedCyC2018/CS-Notes

希望增加 Go 相关内容

closed time in 2 months

zpng

push eventCyC2018/CS-Notes

CyC2018

commit sha dde20ddf9476f27c190606d806c61c55ea356d7c

auto commit

view details

CyC2018

commit sha 5f005e22639fff349e5bcece7efc6e380b12c362

auto commit

view details

push time in 2 months

issue closedCyC2018/CS-Notes

java并发的线程状态的切换,疑问多多

Java 并发.md 线程的状态,不知道是作者自己画的,还是引用于哪里。

建议明确些,通过什么方法,导致线程由哪个状态切换至哪个状态。

其实一个状态图,就能说明对线程的方法理解与否了。

closed time in 2 months

zwp201301

issue commentCyC2018/CS-Notes

java并发的线程状态的切换,疑问多多

我的理解是:要进入runnable状态,必须是获得锁了。wait释放了锁,可notify并没有获得能够直接进入runnable状态的锁。 WAITING---->RUNNABLE 是不能通过Notify()直接达到。

@zwp201301 BLOCKED 是因为要获取 monitor lock 而处于阻塞状态,只要其他线程释放了 monitor lock 就能退出;WAITING 是一种主动行为,调用 Object.wait() 进入等待状态,其它线程调用 Object.notify() 就能退出,这里不需要释放 monitor lock。

具体的可以参考文档哈:https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Thread.State.html#RUNNABLE

zwp201301

comment created time in 2 months

issue closedCyC2018/CS-Notes

HTTPS 章节描述修改

HTTPS 采用混合的加密机制,使用非对称密钥加密用于传输对称密钥来保证传输过程的安全性,之后使用对称密钥加密进行通信来保证通信过程的效率。(下图中的 Session Key 就是对称密钥)

使用非对称密钥加密用于传输对称密钥来保证传输过程的安全性 这句话是不是笔误了?读起来很拗口,影响阅读。如果是的话,可以修改下。如果不是,打扰了。

closed time in 2 months

DavidWhom

push eventCyC2018/CS-Notes

CyC2018

commit sha 80d6d560746bfb544c2ff9b2a9a03b6841f04ef7

auto commit

view details

push time in 2 months

issue commentCyC2018/CS-Notes

二分查找变种中的nums[m] >= key

@Freejourney 这么理解基本上没错,但是二分查找的结果有一个限制,就是如果 target 不在 nums 中,二分查找的结果应该返回 target 插入 nums 的正确位置。

例如对于以下值,需要返回 5,但如果是按你的思路,那么会返回 4。所以我们在 nums[m] > key 的情况下应该让 h = m,而不让 h 过快得往前移动。

        int[] nums = {5, 7, 7, 8, 8, 10};
        int target = 9;
Freejourney

comment created time in 2 months

push eventCyC2018/CS-Notes

CyC2018

commit sha de37d921687ca05c1e8c0d82219208a5418e09e1

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 612d266233787ca2e631801f9e520d6080453957

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 3b3fac2878c0c71c6249b8ef64013d77c9a71064

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 8f466d2c6f9f2835b21e4426d86e9fa406532a76

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 12a513cb70efeeecb6c5dd8a8439a44f00c863b4

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha f4914300d7f2d878292d6812b0e18eb6860714e5

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha b4133bfa114309f3edb041ceb3c5e7881c50b8cb

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 1be901b6a1334301f1030a37c18774fbbe6ffe2d

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 3774c158f69738ead43a31659f049d130add712d

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 0012f2a9131b47a22216c74dd669422d6c50f1f0

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 407ed474d44f7956dd1038dfbf476a68fbcdcf74

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha a2873a47741b5beea22fd844739db047084ee91c

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha ba03a66f1c0ebb0ceb182dec98561c0f63654caa

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 1a8546e1f5401fc758035b25cf240f7519dbbd47

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 2f984f3bda3945371cfc0ab291e1992941695dd4

auto commit

view details

push time in 3 months

issue closedCyC2018/CS-Notes

Innodb中update的时候后查询的问题?

1、InnoDB必须找到一个行的版本,它至少要和事务的版本一样老(也即它的版本号不大于事务的版本号)。这保证了不管是事务开始之前,或者事务创建时,或者修改了这行数据的时候,这行数据是存在的。   2、这行数据的删除版本必须是未定义的或者比事务版本要大。这可以保证在事务开始之前这行数据没有被删除。

那么,在事务T更新数据行的时候,快照的删除版本号是T,快照的创建版本号也是T,那么,如果再T中执行查询操作,上述条件2不符合,因为删除版本和事务版本相同,此时,查不出数据,是我哪个地方理解错了吗?还请指教

closed time in 3 months

miaoxu9999

issue commentCyC2018/CS-Notes

Innodb中update的时候后查询的问题?

@miaoxu9999 原文已补充说明:多版本并发控制

miaoxu9999

comment created time in 3 months

issue commentCyC2018/CS-Notes

MVCC是如何解决脏读和不可重复读的问题的?

@itcoder9527 原文已补充说明:多版本并发控制

itcoder9527

comment created time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 827725da95403fafb7e2fce90dbc0bdfbe0bd3ec

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha eb1186936a09f38f25152874c206870b89af4f5a

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha b71985e21ed346f8cf41dc9c3b660347c88a58d9

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 67e70462afd9a9e157902160f8ab89d705036b92

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 3348b201d17d71d544ec96f3e5a664ac978390ab

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 1e6dad5d07d9535c723426a4218128872e1c2409

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 8fcb417c0423d2755b0917e7452e0770652ce776

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha bacf789b735d268e250e4ddb569d16804ab90f5d

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha d7920b50bdbec7ac3627c6f6d428ff4fa30704b7

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 579c6b671b791c9b75f01e0e9f8dc28d53b558f4

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 82790baf297615faa20133f59cfc33a0dc60dffb

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 7c2454cf8e571db65f06872af27df40d83c66804

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 532e1f64d3ff0a9e2e33e2ebd034bad502003a2a

auto commit

view details

push time in 3 months

push eventCyC2018/CS-Notes

CyC2018

commit sha 9d5a28cdc048f220163de8f0316b3fe6e0bf544f

auto commit

view details

push time in 3 months

issue commentCyC2018/CS-Notes

分布式章节的图片挂了?

@gosth 如果还是不行的话可以访问这个 https://cyc2018.github.io/CS-Notes/#/

gosth

comment created time in 3 months

issue commentCyC2018/CS-Notes

分布式章节的图片挂了?

@gosth 应该是网络有问题,现在可以了吗?

gosth

comment created time in 3 months

more