Hello every one:
I am doing a small assignment but I am stuck on it. I have no idea at all, please give me a hint.
Question:
Implement the List ADT using an array representation with explicit length. You must implement the nine operations given in the class notes (namely: Length, GetKth, Find, FindNext, IsEmpty, Insert, Delete, DeleteKth, and MakeEmpty), using the names they were given (you may not just use array indexing for GetKth, nor a built-in length property/method for Length) and the parameters they were given.
Try to make the code as generic as possible, given the language you are using. This can be as simple as using typedef to give code that can be compiled for multiple different types, to void pointers, to making it a list of Objects, to using a templated class.
Nick