• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Freelists and Linked Lists Java

Hey Guys,

In my textbook, I have an example of a Linked List class implementation with freelist extensions.

I think, since my professor wrote this book, something is messed up. Nothing is successfully getting store in the linked list from what I can tell when I try and mess around with the code.

If I send the code via PM or E-Mail, does anyone have time to look at the code and tell confirm whether or not it works. I have spent hours on my portion of the code and, as far as I can tell, his code is completely messed up to the point that I want to write my own linked list class.

-Kevin
 
Nevermind - it was definitely his code. I found the error and fixed it. Why is it that whenever I use the code from the book instead of my own (We were allowed to do either) I always regret it?

Thanks,
-Kevin
 
Originally posted by: Gamingphreek
Nevermind - it was definitely his code. I found the error and fixed it. Why is it that whenever I use the code from the book instead of my own (We were allowed to do either) I always regret it?

Thanks,
-Kevin

A lot of professors haven't written any meaningful code in years.
 
Back
Top