#include using namespace std; class node{ public: int data; node* next; // Constructor node(int d){ data = d; next = NULL; } };