LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-09-2015, 10:46 AM   #1
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Which data structures books would you recommend as must reads?


Though I am not looking for any specific language
but you may assume CPP if needed.

Note- I am not referring to algorithms, just to
data structures. So, no Knuth please.
 
Old 01-09-2015, 10:56 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Any of them.

Algorithms + Data Structures = Programs should also be required reading, as should The Elements of Programming Style.

Realistically speaking, you can find (in any C++ standard-library, say ...) robust implementations of all of these data-structues. Therefore, you don't per se need to know how to write them yourself. What you do need to understand is basically how they work, what things they make easier-to-do, and what costs they accept in order to do it.

For instance: "Name three data structures that could be used in the implementation of a spelling-correction dictionary. Briefly describe (without giving actual code examples) how each one might be used, given that a known-good software implementation of each is presumed to exist. Briefly discuss at least two factors that would be in-favor of, and two more that would be against, the use of each data structure in this scenario." (30 pts.)

Have I ever been a ...? Aww, how did you know??

Last edited by sundialsvcs; 01-09-2015 at 10:58 AM.
 
1 members found this post helpful.
Old 01-12-2015, 01:52 AM   #3
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by sundialsvcs View Post
Realistically speaking, you can find (in any C++ standard-library, say ...) robust implementations of all of these data-structues. Therefore, you don't per se need to know how to write them yourself. What you do need to understand is basically how they work, what things they make easier-to-do, and what costs they accept in order to do it.

For instance: "Name three data structures that could be used in the implementation of a spelling-correction dictionary. Briefly describe (without giving actual code examples) how each one might be used, given that a known-good software implementation of each is presumed to exist. Briefly discuss at least two factors that would be in-favor of, and two more that would be against, the use of each data structure in this scenario." (30 pts.)
That is exactly the reason why I have created this thread.
I exactly need a book which would tell me in plain English
why and how (for example) Red Black Trees and Recursion work.
That is all I need. I don't need the code. Hence this thread.

Now don't tell me to go to any local library because I
haven't heard of any closer to where I live.
 
Old 01-12-2015, 09:44 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
The Algorithm Design Manual tends to get good reviews.

http://www.algorist.com/
 
1 members found this post helpful.
Old 01-12-2015, 05:25 PM   #5
Sanmayce
Member
 
Registered: Jul 2010
Location: Sofia
Posts: 73

Rep: Reputation: 13
Quote:
Originally Posted by dugan View Post
The Algorithm Design Manual tends to get good reviews.

http://www.algorist.com/
Reviews lie.
"This newly expanded and updated second edition continues to take the "mystery" out of designing algorithms..."
Whoever said that has at best wishful thinking, where are the B-trees, no pseudo-code, no code, no nothing, are you telling me that the most important data structure doesn't deserve a few pages!?
Also, text compression topic, just awful.
As for the string hashing, there is nothing except this wisdom:
"Hashing has a variety of clever applications beyond just speeding up search. I
once heard Udi Manber—then Chief Scientist at Yahoo—talk about the algorithms
employed at his company. The three most important algorithms at Yahoo, he said,
were hashing, hashing, and hashing."


It is always good when some author tries to shed light, sadly when speaking of most BASIC important structures/etudes I see no good resource.
Several of my friends asked me the same question as the TS did, unfortunately I failed to recommend any book, just knowing how all books that I saw are far from the practical usage not to mention high-performance computing.

To me, not feeling the beauty of B-tree + string hashing + LempelZiv is a DISASTER.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Good Reads: What (Geek) Books should be under your tree/Kindle this year? sundialsvcs General 5 12-17-2013 11:10 PM
new to linux what books do you recommend ? thosward56 Linux - Newbie 5 02-29-2012 07:44 AM
Recommend a few Newbie Books schteelhead Slackware 10 08-31-2004 09:26 PM
Which computer books would you NOT ! recommend ? and why ? :D programmershous General 4 07-22-2004 05:12 PM
Which books do you recommend ? rhodan Linux - Newbie 5 08-28-2001 04:24 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration