non restricted and restricted linear data strcutre

zarish (4)
can linear and non linear data structure can be used together in a program
Last edited on
rmxhaha (51)
What do you mean by together ?

Yes, You can create an array of tree graph.............

I don't really get the question so I am sorry if I am wrong
zarish (4)
means if we are making a program then can we use stacks and link list structure together in the program
rmxhaha (51)
vector< list< int > > L;

"vector" is a stack
and
"list" is a linked list

I think it can be done.
but I don't think that "linked list" is a non linear data structure

is your linked list is customized ???
zarish (4)
so its measn that restricted and non restricted linear data structure can be used together in a program?
Registered users can post here. Sign in or register to post.