C++/design-linked-list.cpp
/** Initialize your data structure here. */
Initialize your data structure here.
Initialize your data structure here .
MyLinkedList() : size_(0) {
        head_ = tail_ = new Node(-1);
        head_->next = tail_;
        tail_->prev = head_;
    }
MyLinkedList ( ) : size_ ( 0 ) { head_ = tail_ = new Node ( -1 ) ; head_ -> next = tail_ ; tail_ -> prev = head_ ; }
Initialize your data structure here.
Initialize your data structure here .