Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 免费商店的“堆”一词的由来是什么?
为什么堆叫堆?我的意思是我们动态分配位的内存位。
我没有对此的引用,但我一直相信它源于“放置东西的地方;有点像堆栈,只是组织得不太好”。
堆栈对添加和删除东西的位置有严格的规定,但堆没有。