can linear and non linear data structure can be used together in a program
Last edited on
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
means if we are making a program then can we use stacks and link list structure together in the program
vector< list< int > > L;
"vector" is a stack
"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 ???
so its measn that restricted and non restricted linear data structure can be used together in a program?