Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Data structures and algorithms in Java

    Data structures and algorithms in Java

    Adam Drozdek · 2001

    Computer ScienceProgramming
    Open LibraryAmazon
    Stats for nerds
    3recommend
    8mentions
    8people
    2008–2022years
    38% recommend50% neutral13% critical

    Mentions per year

    20082010201220142016201820202022

    What Hacker News says

    1. titomcAug 2015
      I followed Coursera and the Karatsuba Multiplication algorithm made me reignite my interest in algorithms and data structures. Coursera is a good start followed by the Data Structures and Algorithms in Java book. Learning logarithmic analysis is a prerequisite in my opinion.
      thread
    2. stevenspasboAug 2014
      https://www.coursera.org/course/algs4partI https://www.coursera.org/course/aofa

      The two books that helped me the most were:

      Algorithms, 4th Edition by Robert Sedgewick. Material: http://algs4.cs.princeton.edu/home/

      and Data Structures and Algorithms in Java, 2nd Edition by Robert Lafore

      Both are in java.

      thread
    3. toddcFeb 2012
      Data Structures and Algorithms in Java by Adam Drozdek has a lot of actual code that works. I think the code is online, but the book is worth buying because things are explained well (http://www.amazon.com/Data-Structures-Algorithms-Java-Drozde... ) to be fair, there's quite a bit of math supporting Drozdek's book. Stay away from Sedwick, in my experience his examples are incomplete/don't compile and are abstract. Now, while, CLRSS is the gold standard (Joshua Bloch cites it in his Java Collections code) be aware it's math heavy and lacking on implementation details. Rumor was that there was a CD of CLRSS examples somewhere...
      thread
    4. DiJu519Jul 2022
      Slogging my way through Data Structures and Algorithms in Java 6th Ed.
      thread
    5. abhishekjhaMar 2018
      I graduated recently and we were taught C first and then C++ of OO concepts. I don't think anybody had issues learning OO concepts this way though most of what we learnt went out of the window when we started learning Data Structures and Algorithms in Java. It seemed a lot easier and a lot more could get done in the same amount of time spent on C/C++.

      But I still had a fascination with C. I tried to do a few networking projects using C which turned out to be more tiring than expected thus abandoning the whole project. I think if we would have stuck with C/C++ all the way through the Algorithm's class it would have been much more helpful. Java/Python is way too easy to pickup later on your own and reproduce the same results that one would in C/C++.

      thread
    6. Arun2009Aug 2015
      I suggest that you work patiently through a good text on algorithms and data structures that has code samples in it. I recommend "Algorithms I and II" by Sedgewick or "Data Structures and Algorithm Analysis in Java" (or the C++ version) by Weiss. I also hear good things about "Data Structures and Algorithms in Java" by Lafore.

      The above books are quite apt for beginners. You should expect to struggle a little but you must persevere anyway. I remember struggling with sorting and matrix multiplication algorithms when I learned it the first time in school. Do not mistake your unfamiliarity with the subject for its inherent difficulty! Once you write a few sample programs and see how the algorithms play out, you'll get the hang of it.

      thread

    Related

    Cover of Introduction to Algorithms
    2007–2026

    Introduction to Algorithms

    Thomas H. Cormen
    274 recommend · 880
    Cover of Algorithms and data structures
    2008–2026

    Algorithms and data structures

    Niklaus Wirth
    8 recommend · 20
    Open Data StructuresPat Morin
    2012–2024

    Open Data Structures

    Pat Morin
    11 recommend · 12
    Cover of A practical guide to data structures and algorithms using java
    2016–2018

    A practical guide to data structures and algorithms using java

    Sally A. Goldman
    1 recommend · 3
    Cover of Data structures & problem solving using Java
    2018–2025

    Data structures & problem solving using Java

    Mark Allen Weiss
    1 recommend · 2
    Cover of Algorithms + data structures=programs
    2007–2026

    Algorithms + data structures=programs

    Niklaus Wirth
    35 recommend · 81
    Cover of A Common-Sense Guide to Data Structures and Algorithms
    2017–2025

    A Common-Sense Guide to Data Structures and Algorithms

    Jay Wengrow
    9 recommend · 14
    Cover of Data structures
    2018–2019

    Data structures

    Richard F. Gilberg
    2 recommend · 2