Files
javascript-algorithms/src/data-structures/stack
Mateus Pfeffer da6ae08851 Brazilian Portuguese translation and typos fixes (#943)
* Update README.pt-BR.md

* TRIE README.pt-BR typo

* TREE README.pt-BR typo

* Stack README.pt-BR typo

* Priority Queue README.pt-BR typo

* hash-table README.pt-BR typo

* doubly-linked-list README.pt-BR typo

* disjoint-set README.pt-BR typo

* bloom-filter README.pt-BR typo

* merge-sort pt-BR translation

* merge-sort README added pt-BR option

* insertion sort pt-BR translation

* insertion sort README added pt-br option

* heap-sort pt-BR translation

* heap-sort READMED added pt-BR option

* bubble sort pt-BR typo

* pt-BR translation for sorting algorithms

Fixed typos and translated all the missing algorithms

* Update README.pt-BR.md

* linked list pt-BR translation

* ml pt-BR translation

* fix typo in README

Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-10-10 15:23:32 +02:00
..
2022-08-27 14:35:09 +02:00
2022-07-24 18:18:53 +02:00
2022-07-24 18:18:53 +02:00
2022-07-24 18:18:53 +02:00
2022-07-24 18:18:53 +02:00
2022-07-24 18:18:53 +02:00
2022-07-24 18:18:53 +02:00

Stack

Read this in other languages: 简体中文, Русский, 日本語, Français, Português, 한국어

In computer science, a stack is an abstract data type that serves as a collection of elements, with two principal operations:

  • push, which adds an element to the collection, and
  • pop, which removes the most recently added element that was not yet removed.

The order in which elements come off a stack gives rise to its alternative name, LIFO (last in, first out). Additionally, a peek operation may give access to the top without modifying the stack. The name "stack" for this type of structure comes from the analogy to a set of physical items stacked on top of each other, which makes it easy to take an item off the top of the stack, while getting to an item deeper in the stack may require taking off multiple other items first.

Simple representation of a stack runtime with push and pop operations.

Stack

Made with okso.app

References