Implementing linked list in an efficient way is a bit tricky, this is your one stop solution. Just add "linkedlist.h" to your cpp project and implement fully functional linked lists (singly, doubly, circular) by just creating objects of linked list class.