How can you take a linked list and reverse it? This is a classic data structures question for interview candidates

How can you take a linked list and reverse it? This is a classic data structures question for interview candidates and so I want you to give it a try. Take the given starter code listed with this assignment and add in the code needed to reverse the linked list. Your algorithm should complete in linear time and should not require you to build a second list. All programs must include a comment section at the top of the program as outlined below: / Program: Author: Date: Time spent: Purpose: The purpose of this program is to blah blah blah / Remember that your file should be saved as daily_quiz07.c


Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *