Google+

Sunday, 14 December 2014

Algorithm: Stack : Post 7

     Stacks...
Stacks are linear data structure in which items may be added or removed only.
It is more precisely a data structure management technique and it can simply be thought as Last in - first out list
A stack is a list of elements in which an element may be inserted or deleted only at one end.
Stack

Wednesday, 3 December 2014

Algorithm: Array : Post 6

Array :

           An array is a data structure (linear data structure) which can store a fixed number of elements of the same data type.
An array is used to store a collection of data, but in a simpler way we can think of it as a collection of variables of the same type.