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

  • Thread starter Thread starter shivajikobardan
  • Start date Start date
  • Tags Tags
    Algorithms C++
AI Thread Summary
The discussion centers on preparing for a coding career with a focus on C++ and the importance of mastering algorithms and data structures through practical exercises. The individual plans to tackle exercises from a textbook, dedicating weekends over six months to complete 20% of the exercises, emphasizing hands-on learning rather than passive reading. Additionally, they express interest in graphics programming but note the outdated nature of the DarkGDK library. They seek recommendations for modern C++ libraries similar to DarkGDK, mentioning options like SFML, Allegro, and SDL. The conversation also highlights the value of Scott Meyers' "Effective C++" series, suggesting that engaging with the material through projects and exercises is crucial for effective learning.
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 malawi_glenn
One does not learn a subject by reading a textbook. One learns a subject by working through a textbook.
 
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.
 
TL;DR Summary: I want to do a PhD in applied math but I hate group theory, is this a big problem? Hello, I am a second-year math and physics double major with a minor in data science. I just finished group theory (today actually), and it was my least favorite class in all of university so far. It doesn't interest me, and I am also very bad at it compared to other math courses I have done. The other courses I have done are calculus I-III, ODEs, Linear Algebra, and Prob/Stats. Is it a...
Yesterday, 9/5/2025, when I was surfing, I found an article The Schwarzschild solution contains three problems, which can be easily solved - Journal of King Saud University - Science ABUNDANCE ESTIMATION IN AN ARID ENVIRONMENT https://jksus.org/the-schwarzschild-solution-contains-three-problems-which-can-be-easily-solved/ that has the derivation of a line element as a corrected version of the Schwarzschild solution to Einstein’s field equation. This article's date received is 2022-11-15...
Back
Top