面试准备

最近改动

更新题目 选择题:线程安全容器找 bug

题目 everpure-oa-concurrent-container-mcq · 修改(rev 6) · cc · 2026-10-27 12:09

body

@@ -36,6 +36,4 @@
 - **实现正确**:不选。
 
-## 英文讲法
-
 > [!say] The early returns in get and set leave the mutex locked, so the next caller deadlocks. Separately, resize allocates size bytes instead of size times sizeof int, so the zeroing loop already writes past the buffer. The old buffer is also never freed.