Define an ADT for a bag (see Section 2.1) and create an array-based implementation for bags. Be sure that your bag ADT does not rely in any way on knowing or controlling the position of an element. Then, implement the dictionary ADT of Figure 4.27 using your bag implementation.
Implement doubly linked lists by storing the sum of the next and prev pointers in a single pointer variable as described in Example 4.1.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here