A2 ListADT Linked
A2 ListADT Linked
1. Create an ADT for a List data structure using pointers, with the following functions (List.h):
a. Create a linked list of names (Max. size of the string is 4)
b. Create the following operations
3. Define an ADT for Polynomial using linked list with the following operations (Poly.h):
a. InsertOrder (poly, coefft, expt) to insert the term with coefft and expt in the
right position so that all the terms in the
polynomial poly are in the order of the expt
b. Coefft(poly,expt) to return the coefficient of the term with expt
********************