How to solve this problem with lists?
- by osabri
what i don't understand in my task here what kind of list i can use, and if it should have 2 attributes key and value ? or only value?
with pointers to another node ofc
the task:
"design a function which create a list using input from the keyboard _ the prefered solution. Assume that some magic stops the input; so the length of a list is not known in advance.(alternative solution: a function which creates explicitly a fixed list. However, all other function can not assume any knowledge about the length of lists). Necessary utilities( additional functions to be created): a function which deallocates the memory used for lists and a function which prints the content of the list.
let the element of lists contain a letter. Design a function which create a copy of such list.
can't also understand the list line !!!!!???