WELCOME TO MY BLOG
by SEFTIAN EKO PRANATA

Tuesday 5 April 2011

Stack

Secara bahasa, stack artinya tumpukan.
Dikaitkan dengan struk tur data, stack dimaksudkan sekumpulan data yang organisasi strukturnya bersifat tumpukan. Salah satu buku literature, mendefinisikan stack sebagai berikut:

A stack is an ordered collection of items into which new items may be inserted and from which items may be deleted at one end, called the top of the stack (YEDIYAH L. Moshe J. A., and  Aaron M. Tenembaum; data structutures using c and c++)

Dalam pemrograman koleksi data yang berstruktur stack dapat ditempatkan dalam array satu dimensi atau dalam linear singly linked list.

No comments: