好词典

stack

UK /stæk/US /stæk/

词源

源自中古英语 'stak', 源自古挪威语 'stakkr'(干草堆),可能与古英语 'staca'(桩,柱)有关。

noun

❶ 指整齐堆叠在一起的物品,通常是扁平或形状规则的物体,如书本、盘子等。

“She placed a stack of books on the table.”

(她把一摞书放在桌子上。)

“There was a stack of papers waiting to be filed.”

(有一堆文件等着归档。)

❶ 在计算机科学中,指一种遵循后进先出(LIFO)原则的数据结构。

“The program uses a stack to manage function calls.”

(程序使用栈来管理函数调用。)

“Pushing an element onto the stack increases its size.”

(将元素压入栈会增加其大小。)

同义词:pile, heap, accumulation

verb

❶ 将物品整齐地堆叠起来,通常是为了节省空间或整理物品。

“She stacked the chairs after the meeting.”

(会议结束后她把椅子叠放起来。)

“He stacked the logs neatly against the wall.”

(他把木头整齐地靠墙堆好。)

❶ 在赌博中,指暗中准备对自己有利的牌或筹码。

“The dealer was accused of stacking the deck.”

(发牌员被指控在牌上做了手脚。)

“He stacked the chips in his favor before the game.”

(他在游戏前把筹码堆得对自己有利。)

同义词:pile up, heap, arrange

常见短语

stack up — 累积或比较,用于描述事物逐渐积累或与其他事物相比较的情况。

“The bills are starting to stack up.”

(账单开始堆积起来了。)

stack the odds — 通过某种方式使情况对自己更有利,通常指不公平的优势。

“By hiring extra help, they stacked the odds in their favor.”

(通过雇佣额外帮手,他们使形势对自己更有利。)