How to solve this problem with lists?
Posted
by osabri
on Stack Overflow
See other posts from Stack Overflow
or by osabri
Published on 2010-04-24T14:33:35Z
Indexed on
2010/04/24
14:43 UTC
Read the original article
Hit count: 245
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 !!!!!???
© Stack Overflow or respective owner