面渣逆袭
# JAVASE
- 7.Java 有哪些数据类型? (opens new window)
- 8.自动类型转换、强制类型转换?看看这几行代码? (opens new window)
- 9.什么是自动拆箱/封箱? (opens new window)
- 10.&和&&有什么区别? (opens new window)
- 11.switch 是否能作用在 byte/long/String 上? (opens new window)
- 12.break ,continue ,return 的区别及作用? (opens new window)
- 13.用最有效率的方法计算 2 乘以 8? (opens new window)
- 14.说说自增自减运算?看下这几个代码运行结果? (opens new window)
- 15.⾯向对象和⾯向过程的区别? (opens new window)
- 16.面向对象有哪些特性 (opens new window)
- 17.重载(overload)和重写(override)的区别? (opens new window)
- 18.访问修饰符 public、private、protected、以及不写(默认)时的区别? (opens new window)
- 19.this 关键字有什么作用? (opens new window)
- 20.抽象类(abstract class)和接口(interface)有什么区别? (opens new window)
- 21.成员变量与局部变量的区别有哪些? (opens new window)
- 22.静态变量和实例变量的区别?静态方法、实例方法呢? (opens new window)
- 24.final 关键字有什么作用? (opens new window)
- 25.final、finally、finalize 的区别? (opens new window)
- 26.==和 equals 的区别? (opens new window)
- 27.hashCode 与 equals? (opens new window)
- 28.Java 是值传递,还是引用传递? (opens new window)
- 29.深拷贝和浅拷贝? (opens new window)
- 30.Java 创建对象有哪几种方式? (opens new window)
# 集合框架
- 8.能说一下HashMap的数据结构吗? (opens new window)
- 9.你对红黑树了解多少?为什么不用二叉树/平衡树呢? (opens new window)
- 10.红黑树怎么保持平衡的知道吗? (opens new window)
- 11.HashMap的put流程知道吗? (opens new window)
- 12.HashMap怎么查找元素的呢? (opens new window)
- 13.HashMap的哈希/扰动函数是怎么设计的? (opens new window)
- 14.为什么哈希/扰动函数能降hash碰撞? (opens new window)
- 15.为什么HashMap的容量是2的倍数呢? (opens new window)
- 16.如果初始化HashMap,传一个17的值new HashMap<>,它会怎么处理? (opens new window)
- 17.你还知道哪些哈希函数的构造方法呢? (opens new window)
- 18.解决哈希冲突有哪些方法呢? (opens new window)
- 19.为什么HashMap链表转红黑树的阈值为8呢? (opens new window)
- 20.扩容在什么时候呢?为什么扩容因子是0.75? (opens new window)
- 21.那扩容机制了解吗? (opens new window)
- 22.jdk1.8对HashMap主要做了哪些优化呢?为什么? (opens new window)
- 23.你能自己设计实现一个HashMap吗? (opens new window)
- 24.HashMap 是线程安全的吗?多线程下会有什么问题? (opens new window)
- 25.有什么办法能解决HashMap线程不安全的问题呢? (opens new window)
- 26.能具体说一下ConcurrentHashmap的实现吗? (opens new window)
- 27.HashMap 内部节点是有序的吗? (opens new window)
- 28.讲讲 LinkedHashMap 怎么实现有序的? (opens new window)
- 29.讲讲 TreeMap 怎么实现有序的? (opens new window)
# 并发框架
- 1.并行跟并发有什么区别? (opens new window)
- 2.说说什么是进程和线程? (opens new window)
- 3.说说线程有几种创建方式? (opens new window)
- 4.为什么调用start()方法时会执行run()方法,那怎么不直接调用run()方法? (opens new window)
- 5.线程有哪些常用的调度方法? (opens new window)
- 6.线程有几种状态? (opens new window)
- 7.什么是线程上下文切换? (opens new window)
- 8.守护线程了解吗? (opens new window)
- 9.线程间有哪些通信方式? (opens new window)
- 10.ThreadLocal是什么? (opens new window)
- 11.你在工作中用到过ThreadLocal吗? (opens new window)
- 12.ThreadLocal怎么实现的呢? (opens new window)
- 13.ThreadLocal 内存泄露是怎么回事? (opens new window)
- 14.ThreadLocalMap的结构了解吗? (opens new window)
- 15.ThreadLocalMap怎么解决Hash冲突的? (opens new window)
- 16.ThreadLocalMap扩容机制了解吗? (opens new window)
- 17.父子线程怎么共享数据? (opens new window)
- 24.synchronized用过吗?怎么使用? (opens new window)
- 25.synchronized的实现原理? (opens new window)
- 26.除了原子性,synchronized可见性,有序性,可重入性怎么实现? (opens new window)
- 27.锁升级?synchronized优化了解吗? (opens new window)
- 28.说说synchronized和ReentrantLock的区别? (opens new window)
- 29.AQS了解多少? (opens new window)
- 30.ReentrantLock实现原理? (opens new window)
- 31.ReentrantLock怎么实现公平锁的? (opens new window)
- 32.CAS呢?CAS了解多少? (opens new window)
- 33.CAS 有什么问题?如何解决? (opens new window)
- 34.Java有哪些保证原子性的方法?如何保证多线程下i++ 结果正确? (opens new window)
- 35.原子操作类了解多少? (opens new window)
- 36.AtomicInteger 的原理? (opens new window)
- 37.线程死锁了解吗?该如何避免? (opens new window)
- 38.那死锁问题怎么排查呢? (opens new window)
- 44.什么是线程池? (opens new window)
- 45.能说说工作中线程池的应用吗? (opens new window)
- 46.能简单说一下线程池的工作流程吗? (opens new window)
- 47.线程池主要参数有哪些? (opens new window)
- 48.线程池的拒绝策略有哪些? (opens new window)
- 49.线程池有哪几种工作队列? (opens new window)
- 50.线程池提交execute和submit有什么区别? (opens new window)
- 51.线程池怎么关闭知道吗? (opens new window)
- 52.线程池的线程数应该怎么配置? (opens new window)
- 53.有哪几种常见的线程池? (opens new window)
- 54.能说一下四种常见线程池的原理吗? (opens new window)
- 55.线程池异常怎么处理知道吗? (opens new window)
- 56.能说一下线程池有几种状态吗? (opens new window)
- 57.线程池如何实现参数的动态修改? (opens new window)
- 线程池调优了解吗? (opens new window)
- 58.你能设计实现一个线程池吗? (opens new window)
- 59.单机线程池执行断电了应该怎么处理? (opens new window)
# Spring
- 5.说一说什么是 IOC?什么是 DI? (opens new window)
- 6.能简单说一下 Spring IOC 的实现机制吗? (opens new window)
- 7.说说 BeanFactory 和 ApplicantContext? (opens new window)
- 8.你知道 Spring 容器启动阶段会干什么吗? (opens new window)
- 9.能说一下 Spring Bean 生命周期吗? (opens new window)
- 10.Bean 定义和依赖定义有哪些方式? (opens new window)
- 11.有哪些依赖注入的方法? (opens new window)
- 12.Spring 有哪些自动装配的方式? (opens new window)
- 13.Spring 中的 Bean 的作用域有哪些? (opens new window)
- 14.Spring 中的单例 Bean 会存在线程安全问题吗? (opens new window)
- 15.说说循环依赖? (opens new window)
- 16.那 Spring 怎么解决循环依赖的呢? (opens new window)
- 17.为什么要三级缓存?⼆级不⾏吗? (opens new window)
- 18.@Autowired 的实现原理? (opens new window)
# Redis
- 13.主从复制了解吗? (opens new window)
- 14.Redis主从有几种常见的拓扑结构? (opens new window)
- 15.Redis的主从复制原理了解吗? (opens new window)
- 16.说说主从数据同步的方式? (opens new window)
- 17.主从复制存在哪些问题呢? (opens new window)
- 18.Redis Sentinel(哨兵)了解吗? (opens new window)
- 19.Redis Sentinel(哨兵)实现原理知道吗? (opens new window)
- 20.领导者Sentinel节点选举了解吗? (opens new window)
- 21.新的主节点是怎样被挑选出来的? (opens new window)
- 22.Redis 集群了解吗? (opens new window)
- 23.集群中数据如何分区? (opens new window)
- 24.能说说Redis集群的原理吗? (opens new window)
- 25.说说集群的伸缩? (opens new window)
# Mybatis
- 1. 说说什么是MyBatis? (opens new window)
- 2. Hibernate 和 MyBatis 有什么区别? (opens new window)
- 3. MyBatis使用过程?生命周期? (opens new window)
- 4. 在mapper中如何传递多个参数? (opens new window)
- 5. 实体类属性名和表中字段名不一样 ,怎么办? (opens new window)
- 6. Mybatis是否可以映射Enum枚举类? (opens new window)
- 7. #{}和${}的区别? (opens new window)
- 8. 模糊查询like语句该怎么写? (opens new window)
- 9. Mybatis能执行一对一、一对多的关联查询吗? (opens new window)
- 10. Mybatis是否支持延迟加载?原理? (opens new window)
- 11. 如何获取生成的主键? (opens new window)
- 12. MyBatis支持动态SQL吗? (opens new window)
- 13. MyBatis如何执行批量操作? (opens new window)
- 14. 说说Mybatis的一级、二级缓存? (opens new window)
# Mysql
- 1. 什么是内连接、外连接、交叉连接、笛卡尔积呢? (opens new window)
- 2. 那 MySQL 的内连接、左连接、右连接有有什么区别? (opens new window)
- 3.说一下数据库的三大范式? (opens new window)
- 4.varchar 与 char 的区别? (opens new window)
- 5.blob 和 text 有什么区别? (opens new window)
- 6.DATETIME 和 TIMESTAMP 的异同? (opens new window)
- 7.MySQL 中 in 和 exists 的区别? (opens new window)
- 8.MySQL 里记录货币用什么字段类型比较好? (opens new window)
- 9.MySQL 怎么存储 emoji😊? (opens new window)
- 10.drop、delete 与 truncate 的区别? (opens new window)
- 11.UNION 与 UNION ALL 的区别? (opens new window)
- 12.count(1)、count(*) 与 count(列名) 的区别? (opens new window)
- 13.一条 SQL 查询语句的执行顺序? (opens new window)
- 27.能简单说一下索引的分类吗? (opens new window)
- 28.为什么使用索引会加快查询? (opens new window)
- 29.创建索引有哪些注意点? (opens new window)
- 30.索引哪些情况下会失效呢? (opens new window)
- 31.索引不适合哪些场景呢? (opens new window)
- 32.索引是不是建的越多越好呢? (opens new window)
- 33.MySQL 索引用的什么数据结构了解吗? (opens new window)
- 34.那一棵 B+树能存储多少条数据呢? (opens new window)
- 35.为什么要用 B+ 树,而不用普通二叉树? (opens new window)
- 36.为什么用 B+ 树而不用 B 树呢? (opens new window)
- 37.Hash 索引和 B+ 树索引区别是什么? (opens new window)
- 38.聚簇索引与非聚簇索引的区别? (opens new window)
- 39.回表了解吗? (opens new window)
- 40.覆盖索引了解吗? (opens new window)
- 41.什么是最左前缀原则/最左匹配原则? (opens new window)
- 42.什么是索引下推优化? (opens new window)
- 54.数据库读写分离了解吗? (opens new window)
- 55.那读写分离的分配怎么实现呢? (opens new window)
- 56.主从复制原理了解吗? (opens new window)
- 57.主从同步延迟怎么处理? (opens new window)
- 58.你们一般是怎么分库的呢? (opens new window)
- 59.那你们是怎么分表的? (opens new window)
- 60.水平分表有哪几种路由方式? (opens new window)
- 61.不停机扩容怎么实现? (opens new window)
- 62.常用的分库分表中间件有哪些? (opens new window)
- 63.那你觉得分库分表会带来什么问题呢? (opens new window)
# 分布式
编辑 (opens new window)
上次更新: 2024/02/22, 14:03:19