So I'am studying for my exam, and found the following question which i couldn't understood how to solve it:
The Graph:
typedef struct NODE{
int weight;
int idEdge;
int idDestination;
struct NODO *next;
}Node;
And following this prototype:
int totVertexWithoutEdges(Node **g, int totv)
I must create the function that gives me the total number of vertex without edges but I have no ideia how to do it, can anyone just explain me how should I solve it, not asking for the answer just some steps to reach it.