Loading

摘要: https://leetcode-cn.com/problems/implement-queue-using-stacks/ class MyQueue { Stack<Integer> stackIn; Stack<Integer> stackOut; /** Initialize your da 阅读全文
posted @ 2022-01-18 20:47 Zhbeii 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 读未提交是指,一个事务还没提交时,它做的变更就能被别的事务看到。 读提交是指,一个事务提交之后,它做的变更才会被其他事务看到。 可重复读是指,一个事务执行过程中看到的数据,总是跟这个事务在启动时看到的数据是一致的。当然在可重复读隔离级别下,未提交变更对其他事务也是不可见的。 串行化,顾名思义是对于同 阅读全文
posted @ 2022-01-18 10:30 Zhbeii 阅读(30) 评论(0) 推荐(0) 编辑