Books/Resources for Self Study - Algorithms?

In summary, the book, "Grokking Algorithms", is a textbook that is meant to help people become better programmers by teaching them data structures and algorithms. The book is written in a visual way with a lot of pictures and diagrams, and the person who is reading it should be prepared to do some code examples. The person plans to do this before they graduate, and they think that there is enough time to do so.
  • #1
gibberingmouther
120
15
I have a book called "Grokking Algorithms", and when I'm done with my current tabletop game project I plan to work through this as much as it seems worthwhile to do so.

I was not at my best when I took the class that corresponds to what's in this book, so I figure it would be good to study it further. It's basically a data structures/algorithms textbook with a lot of pictures and diagrams. I want to get better with linked lists, pointers, and that sort of thing. Basically I figure if I understand the theory better and do some code examples I'll be much more comfortable with these kind of important programming building blocks.

I think I'll have time to do this, and even a little more, before I graduate. Do you guys have any suggestions for how I could further develop understanding that will help with being a more skillful programmer? This seems like a good place to ask because I think the people here who know about programming are more science and math oriented, like I am.
 
  • Like
Likes Klystron and Delta2
Physics news on Phys.org
  • #2
I recently read a computer science book such as you describe, The Master Algorithm by Pedro Domingos. While not a textbook, the author provides a decent review and explanation of machine learning touching on linked lists, Markov chains, and probability theory.

Perhaps other computer scientists will respond as my list of CS/math textbooks is dated. This C programming book covers pointers as implemented in the language.
images?q=tbn:ANd9GcQS-ghkWGs3JFFFh9N0VFTRQvTGdCPo9wQUytUDUwB4C162FvVfBnXbvVX_GXZ3t3n2AVU.jpg
 

Attachments

  • images?q=tbn:ANd9GcQS-ghkWGs3JFFFh9N0VFTRQvTGdCPo9wQUytUDUwB4C162FvVfBnXbvVX_GXZ3t3n2AVU.jpg
    images?q=tbn:ANd9GcQS-ghkWGs3JFFFh9N0VFTRQvTGdCPo9wQUytUDUwB4C162FvVfBnXbvVX_GXZ3t3n2AVU.jpg
    1.6 KB · Views: 629
  • Like
Likes gibberingmouther
  • #3
If you want to learn data structures and Algorithms, the best books in the field are those by Donald Knuth. The name of the series is "The Art of Computer Programming".

@QuantumQuest has an insight post: Intro to Data Structures for programming. Have a look at it. In addition, he will be able to site more books on Algorithms and data structures.
 
  • Like
Likes QuantumQuest, gibberingmouther and Klystron
  • #4
Algorithms and data structures is the most fundamental thing for a programmer albeit unfortunately overlooked and understated in many cases. I would definitely recommend the classic CLRS book even for self study. Additionally, I would recommend "Algorithms in C" by Robert Sedgewick, if you want to go through C language or "Algorithms in C++" by the same author, if you prefer the C++ way. There is also a whole lot of other good books on the subject. You can take a look at my insights Intro to Algorithms for Programming and Intro to Data Structures for Programming. I also have a number of recommended books and resources there. Two online courses that I highly recommend is "Algorithms Design and Analysis" Part 1 & 2 of Stanford by Tim Roughgarden and "Algorithms" Part I and II of Princeton, at Coursera - instructor is Robert Sedgewick.

In order to become a more skillful programmer, you have also to spend many hours to analyze, design, develop and debug code, develop some good programming habits like structuring / beautifying your code, write purposeful comments, utilize what is already tested / approved in the programming world, be it a library, a framework, a tool or whatever relevant to the task at hand and reinvent the wheel only for personal enlightenment. Although you may already be doing many if not all of these things I think that you may find something useful in this list.
 
Last edited:
  • Like
Likes gibberingmouther and Wrichik Basu
  • #5
After what has been written in #4, there is little to add. Anyways, this is a video course:

Data Structures and Algorithms (NPTEL)

Not quite sure which programming language is used. Check it out once.
 
  • Like
Likes gibberingmouther

1. What are the best books for learning algorithms?

Some popular books for learning algorithms include "Introduction to Algorithms" by Thomas H. Cormen, "The Algorithm Design Manual" by Steven S. Skiena, and "Grokking Algorithms" by Aditya Bhargava.

2. Are there any online resources for self-study of algorithms?

Yes, there are many online resources available for self-study of algorithms. Some popular ones include Coursera, Khan Academy, and Codeacademy.

3. How do I know if a book or resource is suitable for my level of understanding?

You can check the level of difficulty or target audience of a book or resource before purchasing or using it. Many websites also offer reviews and ratings from other users, which can give you an idea of its suitability.

4. Can I learn algorithms without any prior programming experience?

While some knowledge of programming can be helpful, it is not necessary to have prior experience to learn algorithms. Many books and resources provide explanations and examples in a beginner-friendly manner.

5. Are there any free resources available for learning algorithms?

Yes, there are many free resources available for learning algorithms, such as online tutorials, YouTube videos, and open-source textbooks. However, keep in mind that paid resources may offer more comprehensive and structured learning materials.

Similar threads

  • Science and Math Textbooks
Replies
14
Views
3K
  • Science and Math Textbooks
Replies
28
Views
3K
  • Science and Math Textbooks
Replies
17
Views
1K
  • Science and Math Textbooks
Replies
16
Views
2K
  • Science and Math Textbooks
Replies
8
Views
2K
  • Science and Math Textbooks
Replies
20
Views
2K
  • Science and Math Textbooks
Replies
16
Views
7K
  • Science and Math Textbooks
Replies
12
Views
2K
  • Science and Math Textbooks
Replies
2
Views
367
  • Science and Math Textbooks
Replies
21
Views
2K
Back
Top