Which C++ book is best for learning algorithms and data structures?

  • Context: Courses 
  • Thread starter Thread starter shivajikobardan
  • Start date Start date
  • Tags Tags
    Algorithms C++
Click For Summary
SUMMARY

The discussion centers on selecting the best C++ books for learning algorithms and data structures, particularly for interview preparation. Key recommendations include "Effective C++" by Scott Meyers and "Data Structure and Algorithm Analysis in C++" by Mark Allen Weiss. The user emphasizes the importance of practical exercises over passive reading, planning to complete 20% of exercises in a structured manner over six months. Additionally, they seek modern graphics programming libraries as alternatives to the outdated darkgdk.

PREREQUISITES
  • Basic understanding of C++ programming
  • Familiarity with algorithms and data structures concepts
  • Experience with coding practice platforms like LeetCode
  • Knowledge of graphics programming libraries such as SFML, Allegro, or SDL
NEXT STEPS
  • Study "Effective C++" by Scott Meyers for advanced C++ techniques
  • Complete exercises from "Data Structure and Algorithm Analysis in C++" by Mark Allen Weiss
  • Explore modern graphics libraries like SFML and SDL for practical projects
  • Research additional resources on algorithms and data structures, such as "Algorithms in C++" by Robert Sedgewick
USEFUL FOR

Students and professionals preparing for coding interviews, C++ developers looking to enhance their understanding of algorithms and data structures, and anyone interested in modern graphics programming techniques.

shivajikobardan
Messages
637
Reaction score
54
1686155537799.png

1686155619753.png

As I said earlier, I've already grasped basics of C++. Since my ultimate goal is to work in coding industry, for interviews, I need to prepare for algorithms and data structures, grind leetcode. Between C++ and Java, I choosed C++ because that was taught in our university.

I won't read the first book line by line. I will start from exercises of loops and complete 20% of all exercises. It'll take at least 6 months of weekend studies for me to get there.

Another plan is to do graphics programming. The book by Tony Gaddis is so good for me. Only problem, it uses darkgdk which is very much outdated. So, if you've any recommendations for libraries in C++ like sfml, allegro, sdl, etc, Please recommend. Recommend those which is similar to darkgdk architecture. This book will also take me 6 months of full time weekend studies to finish.

Which one will be more beneficial to my learning?
 
Physics news on Phys.org
  • Like
Likes   Reactions: DEvens and malawi_glenn
One does not learn a subject by reading a textbook. One learns a subject by working through a textbook.
 
  • Like
Likes   Reactions: Astronuc
Vanadium 50 said:
One does not learn a subject by reading a textbook. One learns a subject by working through a textbook.
that's why I've picked a book which is actually built with exercises and projects.
 
Hey, here are some best C++ books to learn algorithms and data structure.
1. Data Structure and Algorithm Analysis in C++ by Mark Allen Weiss
2. Data Structure and algorithm in C++ by Adam Drozdek
3. Algorithms in C+. Part 1-4: Fundamentals, Data Structure, Sorting, Searching by Robert Sedgewick
4. Data Structure and Algorithms made easy by Narasimha Karumanchi
5. Algorithms and Data Structure in C++
Hope this will help.
 

Similar threads

Replies
86
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
3K
  • · Replies 54 ·
2
Replies
54
Views
24K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K