File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 611611##### 6.4.6 如何保证redis和数据库数据的一致性。比如用户名既保存在数据库,又保存在redis做缓存。有如下操作 update_db(username); update_redis(username)。但是执行update_db后故障,update_redis没有执行。有什么简单办法解决这个问题。
612612
613613
614+ <h3 id =" 7 " >滴滴篇</h3 >
615+
616+ ---
617+
618+ ##### 7.1.0 B+树、B-树的区别?
619+
620+ ##### 7.1.1 数据库隔离级别,幻读和不可重复读的区别?
621+
622+ ##### 7.1.2 有hell, well, hello, world等字符串组,现在问能否拼接成helloworld,代码实现。
623+
624+ ##### 7.1.3 快排算法实现
625+
626+ ##### 7.1.4 线程安全的单例模式
627+
628+ ##### 7.1.5 25匹马赛跑,有一个赛场,只有五个赛道,没有计时器,只能通过目测来记录快慢,求出第三3快的马要多少场比赛?
629+
630+ ##### 7.1.6 kmp算法next数组的求解思路
631+
632+ ##### 7.1.7 数组中有三个数字出现超过3/4,求这三个数字?
633+
634+ ##### 7.1.8 1到n+2个数组中缺了两个数,如何用O(n)时间,O(1)空间找到这两个数字。
635+
636+ ##### 7.1.9 一条线段长为1,随机选两个点,将改线段分为三段,三段能成三角形的概率是多少?
637+
638+ ##### 7.2.0 有一个教授,他三个学生,脑袋背后分别各写了一个数字,其中一个数字是另外两个数字的和,经过几轮后,有一个学生猜出了自己的数字请问是什么原因?
639+
640+ ##### 7.2.1 B+树做索引时,B+树通常高度为多少层?要参考哪些条件?
641+
642+
643+ <br >
614644
615645<h3 id =" 9 " >mysql篇</h3 >
616646
You can’t perform that action at this time.
0 commit comments