In Week 5 Linked Lists/etc... are talked about.
In the stacks/queue's the structs are defined like:
typedef struct
{
int size;
int capacity;
}
stack;
whereas he defines the "node" struct as:
typedef struct node
{
int n;
struct node *next;
}
node;
whats the point of saying node after the first typedef struct node? I don't understand? or is it just because we declare "struct node" within the node declaration anyways?