Welcome! Log In Create A New Profile

Advanced

Ass 3 Question 6

Posted by ROtti 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
avatar Ass 3 Question 6
June 25, 2009 01:32AM
This is tricky.
avatar Re: Ass 3 Question 6
June 27, 2009 12:31PM
Are you allowed to swap just the info of the nodes? That would have soooo much easier.
avatar Re: Ass 3 Question 6
July 01, 2009 08:40AM
I battled with this question and still couldn't get this one up and running ... angry smiley
avatar Re: Ass 3 Question 6
July 01, 2009 08:58AM
I swapped just the info...
avatar Re: Ass 3 Question 6
July 01, 2009 09:40AM
Nah ...you need to adjust the links ...look at insertion sort for linked lists ...tricky i must say !! eye rolling smiley
avatar Re: Ass 3 Question 6
July 01, 2009 10:07AM
But insertion sort requires you to insert a new node, and moving of other nodes to accomodate the insert.
With just a swap, there is no inserting or moving of nodes...
Well that's how my mind worked anyway...

I guess we'll have to wait to see what the unisa lecturers say in the solution tutorial
Sorry, only registered users may post in this forum.

Click here to login