Results 1 to 2 of 2
Thread: Data Structures Help...
- 01-12-2008, 06:38 AM #1Member
- Join Date
- Jan 2008
- Rep Power
Data Structures Help...
OK, I have taken Intro to Java. Last semester I took Data Structures I. We used to most horrible book ever.
Data Structures and Algorithms in Java by Michael T. Goodrich, ISBN 0471738840. This book has no explanation on how queues, stacks, linked lists work. After reading this book I became so confused. I spend days writing code that would normally take me a few minutes to write. It was a complete nightmare.
I wanted to know if any of you have any recommendations on really good books that I could use to learn about data structures and java algorithms in general. I would really appreciate your help. Thanks in advance.
- 01-12-2008, 07:31 AM #2
Welcome to the Java Forums jac!
Sorry to hear about your poor experience with that book. Have you studied other languages before.. such as C or C++ ? Or is Java your first language? I ask because when learning data structures, it's important to realize a decent level of abstraction... and sometimes Java can hide levels of abstraction from you(see the Collections and LinkedList classes, for example). When you understand fundamental data structures, the general consensus is that you should be able to write them in any language you are proficient in. In my ultimate and humble opinion, if you want to fully comprehend data structures while programming - attempt writing them in C. Once you have a fundamental comprehension down, come back to Java and write them out or use any of the ready-made classes available in the API for your purposes. If you decide to stick with Java to learn structures, I highly recommend this book by Sedgewick, although I must confess I've only skimmed the series.. I do however own the C++ series and even though C++ is an OO language, Sedgewick uses true C code for his C++ series, and after skimming his Java series, I found them to be less reliant on the API - which is what you have to do, and is my point, when you want to really understand structures at the lowest level of abstraction possible.
Best of luck and see you around!
- By Java Tip in forum Java SoftwareReplies: 0Last Post: 04-15-2008, 06:54 PM
- By jafaryj in forum New To JavaReplies: 0Last Post: 11-28-2007, 06:16 PM
- By adlb1300 in forum New To JavaReplies: 8Last Post: 11-05-2007, 02:01 AM
- By bbq in forum JavaServer Faces (JSF)Replies: 2Last Post: 07-04-2007, 08:52 AM
- By Jamie in forum Java SoftwareReplies: 0Last Post: 06-17-2007, 03:33 PM