Hey there! I am trying to learn C++ so that I can use it to solve these competitive problems. Are there some good resources for learning it along with data structures and algorithms? I tried learning some of the syntax and very basic algos from tutorials but I feel I don’t know much. Are books more reliable, informative and easier to understand then tutorials? Could you suggest some good books in that case?
I’d suggest Bjarne Stroustrup’s “The C++ Programming Language”, he is the creator of C++.
Regarding other things, you will learn more from practice. The book is just for reference.
Look at others’ code and learn to use STL and keep practicing. That’s it!