skip to Main Content
The smarter way
to do assignments.

Please note that this is just a preview of a school assignment posted on our website by one of our clients. If you need assistance with this question too, please click on the Order button at the bottom of the page to get started.

#include using namespace std;
struct node {
int data;
node *prev;
node *next;
class lista {
lista() {head = new node; head->next = head; head->prev = head;}
void push_front(const int &val)
node * np;
np = new node;
np->data = val;
np -> next = head -> next;
head -> next -> prev = np;
np -> prev = head;
head -> next = np;
void push_back(const int &val);
void pop_front();
void pop_back();
const int& front() const;
const int& back() const;
friend void display_list(const lista &obj);
int size() const;
bool empty() const;
void clear();
node * head;
void display_list(const lista &obj)
node* np;
np = obj.head->next;
while (np != obj.head) {
cout << np->data << endl; np = np->next;
int main()
lista mylist;


Clicking on this button will take you to our custom assignment page. Here you can fill out all the additional details for this particular paper (grading rubric, academic style, number of sources etc), after which your paper will get assigned to a course-specific writer. If you have any issues/concerns, please don’t hesitate to contact our live support team or email us right away.

How It Works        |        About Us       |       Contact Us

© 2018 | Intelli Essays Homework Service®

Back To Top