# Stack vs. Array — What's the Difference?

## Definitions

#### Stack➦

An orderly pile, especially one arranged in layers
A stack of newspapers.

#### Array➦

An array is a systematic arrangement of similar objects, usually in rows and columns.

#### Stack➦

A large, usually conical pile of straw or fodder arranged for outdoor storage.

#### Array➦

To set out for display or use; place in an orderly arrangement
Arrayed the whole regiment on the parade ground.

#### Stack➦

(Computers) A section of memory and its associated registers used for temporary storage of information in which the item most recently stored is the first to be retrieved.

#### Array➦

To dress, especially in fine clothes; adorn.

#### Stack➦

A group of three rifles supporting each other, butt downward and forming a cone.

#### Array➦

An orderly, often imposing arrangement
An array of royal jewels.

#### Stack➦

A chimney or flue.

#### Array➦

An impressively large number, as of persons or objects
An array of heavily armed troops.
An array of spare parts.

#### Stack➦

A group of chimneys arranged together.

#### Array➦

Splendid attire; fine clothing.

#### Stack➦

A vertical exhaust pipe, as on a ship or locomotive.

#### Array➦

A rectangular arrangement of quantities in rows and columns, as in a matrix.

#### Stack➦

An extensive arrangement of bookshelves.

#### Array➦

Numerical data linearly ordered by magnitude.

#### Stack➦

The area of a library in which most of the books are shelved.

#### Array➦

An arrangement of usually identical devices, often sensors, that function as a unit
An array of solar panels.

A stackup.

#### Array➦

(Computers) A group of memory elements accessed by one or more indices.

#### Stack➦

An English measure of coal or cut wood, equal to 108 cubic feet (3.06 cubic meters).

#### Array➦

Clothing and ornamentation.

#### Stack➦

(Informal) A large quantity
A stack of work to do.

#### Array➦

7, Laws N21|url=http://www.joe-offer.com/folkinfo/songs/129.html|passage=Sovay, Sovay all on a day, She dressed herself in man's array, With a sword and a pistol all by her side, To meet her true love to meet her true love away did ride.}}

#### Stack➦

To arrange in a stack; pile.

#### Array➦

A collection laid out to be viewed in full.

#### Stack➦

To load or cover with stacks or piles
Stacked the dishwasher.

#### Array➦

An orderly series, arrangement or sequence.

#### Stack➦

(Games) To prearrange the order of (a deck of cards) so as to increase the chance of winning.

#### Array➦

Order; a regular and imposing arrangement; disposition in regular lines; hence, order of battle.
Drawn up in battle array

#### Stack➦

To prearrange or fix unfairly so as to favor a particular outcome
Tried to stack the jury.

#### Array➦

A large collection.
We offer a dazzling array of choices.

#### Stack➦

To direct (aircraft) to circle at different altitudes while waiting to land.

#### Array➦

(mathematics) Common name for matrix.

#### Stack➦

To form a stack
Make sure the boxes stack neatly against the wall.

#### Array➦

(programming) Any of various data structures designed to hold multiple elements of the same type; especially, a data structure that holds these elements in adjacent memory locations so that they may be retrieved using numeric indices.

#### Array➦

(legal) A ranking or setting forth in order, by the proper officer, of a jury as impanelled in a cause; the panel itself; or the whole body of jurors summoned to attend the court.

#### Stack➦

A large pile of hay, grain, straw, or the like, larger at the bottom than the top, sometimes covered with thatch.

#### Array➦

(military) A militia.

#### Stack➦

A pile of similar objects, each directly on top of the last.
Please bring me a chair from that stack in the corner.

#### Array➦

A group of hedgehogs.

#### Stack➦

(UK) A pile of poles or wood, indefinite in quantity.

A microarray.

#### Stack➦

A pile of wood containing 108 cubic feet. (~3 m³)

#### Array➦

To clothe and ornament; to adorn or attire.
He was arrayed in his finest robes and jewels.

#### Stack➦

An extensive collection

#### Array➦

To lay out in an orderly arrangement; to deploy or marshal.

A smokestack.

#### Array➦

(legal) To set in order, as a jury, for the trial of a cause; that is, to call them one at a time.

#### Array➦

Order; a regular and imposing arrangement; disposition in regular lines; hence, order of battle; as, drawn up in battle array.
Wedged together in the closest array.

#### Stack➦

(programming) A linear data structure in which items inserted are removed in reverse order (the last item inserted is the first one to be removed).
History stack

#### Array➦

The whole body of persons thus placed in order; an orderly collection; hence, a body of soldiers.
A gallant array of nobles and cavaliers.

#### Stack➦

A stack data structure stored in main memory that is manipulated during machine language procedure call related instructions.

#### Array➦

An imposing series of things.
Their long array of sapphire and of gold.

#### Stack➦

An implementation of a protocol suite (set of protocols forming a layered architecture).
A TCP/IP stack is a library or set of libraries or of OS drivers that take care of networking.

#### Array➦

Dress; garments disposed in order upon the person; rich or beautiful apparel.

#### Stack➦

A combination of interdependent, yet individually replaceable, software components or technologies used together on a system.

#### Array➦

A ranking or setting forth in order, by the proper officer, of a jury as impaneled in a cause.

#### Stack➦

(math) A generalization of schemes in algebraic geometry and of sheaves.

#### Array➦

To place or dispose in order, as troops for battle; to marshal.
By torch and trumpet fast arrayed,Each horseman drew his battle blade.
These doubts will be arrayed before their minds.

#### Stack➦

(geology) A coastal landform, consisting of a large vertical column of rock in the sea.

#### Array➦

To deck or dress; to adorn with dress; to cloth to envelop; - applied esp. to dress of a splendid kind.
Pharaoh . . . arrayed him in vestures of fine linen.
In gelid caves with horrid gloom arrayed.

#### Stack➦

(library) Compactly spaced bookshelves used to house large collections of books.

#### Array➦

To set in order, as a jury, for the trial of a cause; that is, to call them man by man.

#### Stack➦

(figuratively) A large amount of an object.
They paid him a stack of money to keep quiet.

#### Array➦

An orderly arrangement;
An array of troops in battle order

#### Stack➦

(military) A pile of rifles or muskets in a cone shape.

#### Array➦

An impressive display;
It was a bewildering array of books
His tools were in an orderly array on the basement wall

#### Stack➦

(poker) The amount of money a player has on the table.

#### Array➦

Especially fine or decorative clothing

#### Array➦

An arrangement of aerials spaced to give desired directional characteristics

#### Stack➦

A number of flues embodied in one structure, rising above the roof.

#### Array➦

Lay out in a line

#### Stack➦

A vertical drainpipe.

#### Array➦

Align oneself with a group or a way of thinking

#### Stack➦

A fall or crash, a prang.

#### Stack➦

(bodybuilding) A blend of various dietary supplements or anabolic steroids with supposed synergistic benefits.

#### Stack➦

(aviation) A holding pattern, with aircraft circling one above the other as they wait to land.

#### Stack➦

(video games) The quantity of a given item which fills up an inventory slot or bag.
I've got 107 Golden Branches, but the stack size is 20 so they're taking up 6 spaces in my inventory.

#### Stack➦

(transitive) To arrange in a stack, or to add to an existing stack.
Please stack those chairs in the corner.

#### Stack➦

To arrange the cards in a deck in a particular manner.
This is the third hand in a row where you've drawn four of a kind. Someone is stacking the deck!

#### Stack➦

To take all the money another player currently has on the table.
I won Jill's last \$100 this hand; I stacked her!

#### Stack➦

(transitive) To deliberately distort the composition of (an assembly, committee, etc.).
The Government was accused of stacking the parliamentary committee.

#### Stack➦

To crash; to fall.
Jim couldn′t make it today as he stacked his car on the weekend.

#### Stack➦

(gaming) To operate cumulatively.
A magical widget will double your mojo. And yes, they do stack: if you manage to get two magical widgets, your mojo will be quadrupled. With three, it will be octupled, and so forth.

#### Stack➦

To place (aircraft) into a holding pattern.

#### Stack➦

To collect precious metal in the form of various small objects such as coins and bars.

#### Stack➦

(printing) To have excessive ink transfer.

#### Stack➦

A large and to some degree orderly pile of hay, grain, straw, or the like, usually of a nearly conical form, but sometimes rectangular or oblong, contracted at the top to a point or ridge, and sometimes covered with thatch.
But corn was housed, and beans were in the stack.

#### Stack➦

An orderly pile of any type of object, indefinite in quantity; - used especially of piles of wood. A stack is usually more orderly than a pile
Against every pillar was a stack of billets above a man's height.

#### Stack➦

A pile of wood containing 108 cubic feet.

#### Stack➦

A large quantity; as, a stack of cash.

#### Stack➦

A number of flues embodied in one structure, rising above the roof.

#### Stack➦

A section of memory in a computer used for temporary storage of data, in which the last datum stored is the first retrieved.

#### Stack➦

The section of a library containing shelves which hold books less frequently requested.

#### Stack➦

To lay in a conical or other pile; to make into a large pile; as, to stack hay, cornstalks, or grain; to stack or place wood.

#### Stack➦

To place in a vertical arrangement so that each item in a pile is resting on top of another item in the pile, except for the bottom item; as, to stack the papers neatly on the desk; to stack the bricks.

#### Stack➦

To select or arrange dishonestly so as to achieve an unfair advantage; as, to stack a deck of cards; to stack a jury with persons prejudiced against the defendant.

An orderly pile

#### Stack➦

(often followed by `of') a large number or amount or extent;
A batch of letters
A deal of trouble
A lot of money
He made a mint on the stock market
It must have cost plenty

#### Stack➦

A list in which the next item to be removed is the item most recently stored (LIFO)

#### Stack➦

A large tall chimney through which combustion gases and smoke can be evacuated

#### Stack➦

A storage device that handles data so that the next item to be retrieved is the item most recently stored (LIFO)