Discussion:
insertLiteral function problem
(too old to reply)
Moon Sam Dae-Sun
2004-01-31 07:12:59 UTC
Permalink
hi

the insertLiteral function says to insert the literals a the head of the
clause, but the figure 1: clauses structure seems to show the literals
being added to the end of the list. how should we make this function?
Sean Safarpour
2004-01-31 17:01:42 UTC
Permalink
Please implement the function according to the function description in the
lab handout. The diagram is used just to give you and idea of what
an array of linked-list looks like. Please ignore the order of the
literals in the diagram. So, in this case, add the literal at the head.

Thanks,

Sean
Post by Moon Sam Dae-Sun
hi
the insertLiteral function says to insert the literals a the head of the
clause, but the figure 1: clauses structure seems to show the literals
being added to the end of the list. how should we make this function?
Loading...