COMPSCI 211                  Assignment 2                Due: Oct 21

 

1.      Review chapters 1-4 focusing on chapter 2 which we will explore next Monday

2.      Due Thursday :

 

    1. Implement a circular list using a fixed size integer array.
    2. Implement the class CircularSLList ( a circular singly linked list) that includes the member functions addToHead, deleteFromHead, addToTail,  deleteFromTail, and isEmpty supply a printList, and a test.cpp the uses this class. You may use your code from the list assignment in COMPSCI 102 as inspiration or from the textbook figure 3.2 (though you should be aware that this is purely an integer list while you are being asked create generic circular list). DO NOT USE STL.