data structure with variable capacity(not a linked list)
Is there any advantage of using a data-structure with the following characterstic:
the number of elements that can be inserted depends on the sequence of inputs.
That is the number of elements that the data structure can hold will be different for the following sequence,
And does there exists any such data structure?
Though linked list has varying capacity but its storage capacity doesn't vary with the sequence in whic h the no.'s are entered.
Last edited by shivaligupta; 01-31-2005 at 05:06 AM.