Another week, a little bit further down the rabbit hole we go; sll1 hopefully reinforced some patterns you've been encountering, similarish algorithms, and maybe even some more moments of enlightenment.
sll2 completes our core singly-linked list functionality, by having us look at the operations that manipulate and take nodes out of a list (where in previous sll# projects the general theme was putting nodes in and reading through what was already there).
obtain() function, to disconnect values(nodes) from the list
clearlist() function, to empty a populated list
rmlist(), to de-allocate an empty list
sortlist(), to sort a list's nodes according to a mode
swapnode(), to exchange the places of marked nodes in a list
I will say, historically, this project tends to be more difficult for the class. Maybe overconfidence? Likely people not drawing enough pictures.
drawing pictures has solved so many problems. I've seen a number of people stumped only to work through the problem (largely by themselves) once they draw out step-by-step what is happening or scribble out some pseudo-code as they desk check their process. It really does work, but only if you do it regularly.
the debugger will continue to be your friend (perhaps moreso). Remember, it is an aid, not an authority. You must make decisions based on what the debugger helps reveal to you.
Remember, if you had trouble implementing functions to a previous project, the test reference implementation is there to allow you to start on even footing in the next project. Learn to cut your losses and move on… the data structures freight train ain't slowing down (and we're not at 11 yet).
I've seen a couple more people wander in with questions… please, continue to do that!
Also, even though many of the tutors are not officially tutoring in data structures, many of them ARE tutoring in problem solving, or CPROG; and the bulk of problems are generally conceptual (ie not solving the problem effectively) and syntactical (not writing the code syntax properly). The non-Data Structures tutors are in no way obliged to tutor Data Structures, but if you go to them with problem solving/C coding questions, that is very much within their domain.