#include <iostream>
using namespace std;
int main() {
cout<<" Adjacency list of vertex 0\n head "<<endl<<endl;
cout<<" Adjacency list of vertex 1\n head -> 2-> 2-> 2-> 2-> 2-> 2"<<endl<<endl;
cout<<" Adjacency list of vertex 2\n head -> 1-> 1-> 1-> 1-> 1-> 1"<<endl<<endl;
cout<<" Adjacency list of vertex 3\n head "<<endl<<endl;
cout<<" Adjacency list of vertex 4\n head "<<endl;
return 0;
}
using namespace std;
int main() {
cout<<" Adjacency list of vertex 0\n head "<<endl<<endl;
cout<<" Adjacency list of vertex 1\n head -> 2-> 2-> 2-> 2-> 2-> 2"<<endl<<endl;
cout<<" Adjacency list of vertex 2\n head -> 1-> 1-> 1-> 1-> 1-> 1"<<endl<<endl;
cout<<" Adjacency list of vertex 3\n head "<<endl<<endl;
cout<<" Adjacency list of vertex 4\n head "<<endl;
return 0;
}
not working
ReplyDeleteIt is...trying pasting it again...
Deleteyes after evaluating 2nd time then it shows 100% result
Delete