ŷ

Jump to ratings and reviews
Rate this book

Data Structures and Algorithms in Java

Rate this book

Data Structures and Algorithms in Java, Second Edition is designed to be easy to read and understand although the topic itself is complicated. Algorithms are the procedures that software programs use to manipulate data structures. Besides clear and simple example programs, the author includes a workshop as a small demonstration program executable on a Web browser. The programs demonstrate in graphical form what data structures look like and how they operate. In the second edition, the program is rewritten to improve operation and clarify the algorithms, the example programs are revised to work with the latest version of the Java JDK, and questions and exercises will be added at the end of each chapter making the book even more useful.

Educational Supplement

Suggested solutions to the programming projects found at the end of each chapter are made available to instructors at recognized educational institutions. This educational supplement can be found at www.prenhall.com, in the Instructor Resource Center.

800 pages, Hardcover

First published March 1, 1998

138 people are currently reading
590 people want to read

About the author

Robert Lafore

49books23followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
149 (44%)
4 stars
118 (34%)
3 stars
48 (14%)
2 stars
14 (4%)
1 star
9 (2%)
Displaying 1 - 30 of 31 reviews
Profile Image for Krishna Chaitanya.
68 reviews118 followers
August 18, 2020
The best book I've found on Data Structures and Algorithms in Java for beginners. Content is properly organized, nice illustrations and easy-to-understand explanations. It covers general purpose data structures like Arrays, Linked lists, HashTables and Binary Trees, special purpose data structures like Stacks, Queues and PriorityQueues, sorting algorithms and lastly Graphs.

Note that this is a beginners book, it can act as an interview refresher and solidify your understanding on Computer Science fundamentals in terms of data structures and algorithms.

Excellent material.
Profile Image for Ravish Rawat.
2 reviews
July 27, 2015
This is the best book you can find on Earth as of now. Perfect explanation of concepts with examples.If you're not someone who come from a computer science background but works as a software engineer even then you can learn D.S from it very easily.

You just need to know Java and this book will take you further.Most gurus lists will tell you that "Introduction to Algorithms" and others is the book to buy in this field. I would strongly disagree with this notion unless the reader is already very savvy in DS&A and good with numbers.

Just DON'T THINK.Buy it.Best book? Yes!
Profile Image for Evan Snyder.
207 reviews18 followers
January 22, 2013
As an amateur programmer looking to learn what exists beyond arrays, this book was great. I got a very clear overview of the different types of data structures and their attributes, implementation tips, and good code examples.
Profile Image for Nimrod Daniel.
180 reviews299 followers
March 4, 2016
The book covers all the important topics in regard to DS&A � arrays, stacks, queues, link lists, trees, heaps, hashtables, Graphs, recursion, sorting algorithms and few other graph related algorithms. The explanations are great, and the code examples are detailed for every data structure and algorithm, everything is developed from scratch. There’re plenty of workshops applets, though I didn't even check if they’re available because I had no problem to imagine how the algorithms work step by step. The Red-Black tree chapter explains exactly how it works, though there’s no code implementation, and it was nice if it had one. The weighted Graph chapter could have been edited better to my taste, though it’s fine.

All in all it’s a good book on DS&A, and I highly recommend this book to anyone who’s interested in this topic. Sedgewick’s book sounds like a good book to take a step further and dive into algorithms.
4.5-4.75/5
Profile Image for Sankalp Suryawanshi.
1 review1 follower
April 30, 2013
This is first time ever I read any Data Structures and Algorithms. After almost completing this book I found this book is good for learning concepts. The applet provided are great pictorial presentation.
Profile Image for Antriksh.
5 reviews17 followers
August 5, 2017
This book is Bible for people who want to understand every why's and how's of each data structure topic along with Java code . I have read it to understand the basics prior to get ready for challenging interview questions . In the end of book i can connect the dots as what problem leads to other data structure and ADTs .
All i can say is that I'm a happy programmer after completing this book . (:
4 reviews2 followers
April 10, 2015
Solid introduction or review of basic concepts

The name is a bit of a misnomer, it does not through luck explore algorithms, aside from Dijkstra's algorithm most others relate to ADT's, such as red and black or AVL trees. That being said, it's still a good book for introducing the basics for data and abstract data types.
Profile Image for Andrew Obrigewitsch.
951 reviews155 followers
May 16, 2016
This is an excellent book on Data Structures and Algorithms, for some reason my teacher chose a book that isn't nearly as good, but this one really helped me to understand what the different algorithms are doing. Especially some of the more abstract ones like Hash Tables and Graphs.
97 reviews9 followers
June 25, 2019
աւելի լաւ ա մի քիչ ջանք թափել ու նորմալ գիրք կարդալ, քան օգտուել էն գրականութիւնից, որն ամէն ինչ փորձում ա քեզ իբր մանրամասն բացատրի։ ու նաեւ, չարժի կարդալ էն ծրագրաւորման գիրքը, որտեղ կոդը կարդալ չի լինում՝ փնթիութեան պատճառով։
1 review7 followers
March 31, 2012
I thought it was very well written and easy to follow. For the most part it's language agnostic. You don't need to "know Java."
3 reviews2 followers
July 14, 2012
I recommend to Start Learning Data structures from this Book
Profile Image for Michael Bond.
156 reviews4 followers
July 14, 2015
Wonderful survey of data structures and algorithms. I probably need another reference on graphs though.
Profile Image for Tosy.
2 reviews
September 6, 2016
A very good tool for anyone interested in mastering data structure and algorithms in java
247 reviews7 followers
June 23, 2023
Jest to kolejna książka z kanonu informatyki, którą przeczytałem. Zbieram całą kolekcję. Książkę tę przeczytałem po raz pierwszy około 8 lat temu i miałem podobne wrażenia z lektury: napisana dość przystępnym językiem, jak na stopień skomplikowania zagadnienia. Nie ma za dużo wzorów - co może być zarówno plusem, jak i minusem, w zależności od tego, czego szukamy. Z drugiej strony, znajdują się w niej również bardziej skomplikowane zagadnienia, takie jak Radix Sort czy Algorytm Shella, drzewa czerwono czarne wraz z rotacjami, które zazwyczaj nie wchodzą do tego typu "uproszczonych" książek o algorytmach.

Myślę, że to w miarę dobra książka na początek przygody z algorytmami, szczególnie końcowe rozdziały są dość przydatne.
Mankamentem książki jest jakość kodu napisanego w Javie. Autor ma dość osobliwe poczucie estetyki kodu, które kontrastuje z przyjętymi w środowisku Java standardami.

Jestem na ¼ objętości słynnej książki o algorytmach Cormena i jest to książka, którą podczytuję już od roku. Nie znam trudniejszej książki, i jeśli ktoś zna, niech mnie przekona. Jeśli ktoś jest zainteresowany bardzo matematycznym podejściem do algorytmów, to myślę, że nie ma lepszej książki niż właśnie Cormen - Wprowadzenie do algorytmów.
16 reviews
September 26, 2021
What an amazing book. Lafore as a way of manifesting a code that is both simple and easy to digest. However this is not a book to glance at, you should either devour it page by page or don't bother reading it at all
Profile Image for Ivan.
223 reviews10 followers
April 15, 2016
Старый, хороший учебник. Объяснения на примерах (доступно на ). Рассказывает и "как" и "почему", есть задания. Бери да учись.
32 reviews
Read
November 7, 2021
best algs book i've ever read. highly highly recommended. there are examples for building data scructures from scratch which helps illustrate with examples of how you would implement things.
Profile Image for Vladimir Ryashentsev.
22 reviews3 followers
April 30, 2017
Отличная книга для начинающих разработчиков, по прочтении которой вы сможете обоснованно выбрать структуру данных или алгоритм для ваших целей. Не хватает теории, но в эту книгу теорию уже было не поместить.
Displaying 1 - 30 of 31 reviews

Can't find what you're looking for?

Get help and learn more about the design.