Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I learn how to combine algorithms and data structures? [closed]

After reading an introductory book on algorithms and data structures I am now craving for examples on how to combine these for optimal efficiency.

For instance, you can combine hashmaps with specific sorting algorithms to create a simple text search program.

Is there any good book or online resource for this?

(I have already ordered Programming Pearls, which looks great, but I want to learn more about this.)

like image 939
csl Avatar asked Dec 02 '08 13:12

csl


People also ask

Can I master DSA in 3 months?

Usually, it takes 2-3 months to learn the basics and then a rigorous, six months regular practice of questions to master data structures and algorithms.

Can I learn data structures and algorithms without coding?

Regardless of your programming language background,Codeless Data Structures and Algorithms. In this book, author Armstrong Subero will help you learn DSAs without writing a single line of code.


2 Answers

Any good algorithms book is going to have a chapter or two on the importance of choosing the right data structures. I recommend the following books:

  • Algorithms in a Nutshell
  • Introduction to Algorithms
  • The Algorithm Design Manual

I also recommend you check out the Stony Brook Algorithm Repository, particularly the lectures.

like image 149
Bill the Lizard Avatar answered Nov 11 '22 11:11

Bill the Lizard


Go to these websites and try out the problems:

  1. acm.uva.es
  2. topcoder.com/tc
  3. SPOJ
  4. Codechef

They have problems to satisfy you for at least the next 3-4 years.

like image 25
user855 Avatar answered Nov 11 '22 12:11

user855