Results 1 to 2 of 2
  1. #1
    jac0117 is offline Member
    Join Date
    Jan 2008
    Posts
    9
    Rep Power
    0

    Default 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.

  2. #2
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    8

    Default

    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!
    Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
    Want to voice your opinion on your IDE/Editor of choice? Vote now!
    Got a little Capt'n in you? (drink responsibly)

Similar Threads

  1. Sux data structures 1.0.1
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 04-15-2008, 07:54 PM
  2. Data Visualization
    By jafaryj in forum New To Java
    Replies: 0
    Last Post: 11-28-2007, 07:16 PM
  3. Add data to an array
    By adlb1300 in forum New To Java
    Replies: 8
    Last Post: 11-05-2007, 03:01 AM
  4. filtering data in jsf
    By bbq in forum JavaServer Faces (JSF)
    Replies: 2
    Last Post: 07-04-2007, 09:52 AM
  5. Data Crow 2.12
    By Jamie in forum Java Software
    Replies: 0
    Last Post: 06-17-2007, 04:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •