need to look like this
A1..jpg 63.57K
168 downloadslinked list in simple, but an array based linked list is kind of new to me.
i have u version of code that i wrote. i dun know which one is right structure.
this is only past of the code not all, only show the structure.
1.
struct Node{
char item;
int next;
};
class AryList{
public:
private:
Node ary[MAX_SIZE];//array based linked list
}2.
struct Node{
char item;
int next;
}Node_array[MAX_SIZE];
which one is the correct one for array based linked list?thank you!


Sign In
Create Account

Back to top









