当前位置: 首页 > 面试经验 >

猿辅导服务端一面

优质
小牛编辑
83浏览
2023-06-08

猿辅导服务端一面

一面5.30

  1. 薄纱项目

  2. Java4个修饰词的作用;类能用哪些修饰词,为什么?

  3. 线程池,参数、参数的作用,为什么先加队列再最大线程

  4. MySQL锁

    select * from t where id=0有没有加锁?(所以有没有加呢?)

    update t set name=xx where id=1有没有加锁

    事务隔离级别

    可重复读是什么?怎么实现的--MVCC是什么

    在可重复读隔离级别下
    select * from t where id=0
    {之间另一个事务update t set name=xx where id=0}
    select * from t where id=0
    两次查询是否相同?为什么?
    
    同一个事务下
    select * from t where id=0
    update t set name=xx where id=1
    select * from t where id=0
    两次查询是否相同?为什么?
    

    select age,height from t where age>17 and height>198

    怎么建立索引?联合索引顺序有什么区别哪个效率高?

  5. 递归法反转链表 #猿辅导实习面经

#猿辅导面试#
 类似资料: