Tutorial_7_Sol-for-viewing-printing - ) front.next =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CC2203 Data Structures and Algorithms Sem 2, 2009-2010 Tutorial 7 Solutions Ex1 answer: c = front; front = front.next.next.next; c.next.next.next = front.next; (or c.next.next.next = c.next.next.next.next;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ) front.next = front.next.next; c.next.next.next.next = null; Exercise 2 answer: firstNode.next = p .next; p.next = p .next.next.next; firstNode.next.next .next = null;...
View Full Document

This note was uploaded on 08/18/2011 for the course COMP 3868 taught by Professor Keithchan during the Summer '97 term at Hong Kong Polytechnic University.

Ask a homework question - tutors are online