|
Answer» ADVANTAGES OF THE ARRAY IN DATA STRUCTURE :
- collection of similar types of data. - we need to only remember the first index of the array. - 2 dimensional array is used to represent a MATRIX . - it is used to implement other data structure like linked lists , stacks , queue , etc .
DISADVANTAGES OF ARRAY DATA IN STRUCTURE : - the time complexity increase in INSERTION and depletion OPERATION. - wastage of memory because arrays are fixed in size. - if there is enough space present in the memory but not in continuous form, in this CASE you will not able to to initialise your array .
hope it's helpful and mark me as a BRAIN list...
|