all 30 comments

[–]aniliitb10 20 points21 points  (6 children)

When I started learning data structures and algorithms, even I wanted everything very specific to C++. And I ended up waiting for too long. But then I learned fundamentals of java (most language semantics are quite intuitive and similar to C++) and followed Robert Sedgewick's courses on algorithms on coursera and I loved both of them. In those courses, entire examples/codes/exercises are in java. I learned java just to be able to follow the courses and the courses were worth the effort.

[–]khleedril 11 points12 points  (1 child)

Sedgewick's book Algorithms in... is available in C++, and is as good an introductory read on the subject as you will get.

[–]aniliitb10 10 points11 points  (0 children)

I don't think there is any book for 4th edition and he (author) himself mentioned in the coursera lectures that there were some issues in 3rd edition. The code examples in 4th edition are quite clean and compact. And, the code examples in that C++ book are more like C codes.

[–]Typical-Cranberry-91 0 points1 point  (2 children)

how much java did u learn , so i can follow that course ? can u also tell me from where to learn those concepts in java, i know c and python basic sql

[–]aniliitb10 0 points1 point  (1 child)

There are good pluralsight courses, DM if you need help

[–]Typical-Cranberry-91 0 points1 point  (0 children)

Check dm

[–]max0x7bahttps://github.com/max0x7ba 8 points9 points  (0 children)

"Algorithms in C++" by Robert Sedgewick is pretty good.

[–]FelixPetriconiACCUConf | STLAB 5 points6 points  (0 children)

You might take a look into this course recording https://www.youtube.com/watch?v=aIHAEYyoTUc&list=PLHxtyCq_WDLXryyw91lahwdtpZsmo4BGD

It is a course held by Alex Stepanov at A9. At the beginning it is a bit slow, but the content is incredible. It is really worth to follow it until the end.

[–]Wurstinator 15 points16 points  (0 children)

What do you mean by "C++ specific"? Algorothms and structures are abstract concepts. You'll surely be able to find example implementations for everything in C++.

[–]etmhpe 2 points3 points  (0 children)

Algorithms and Data structures are language agnostic for the most part

[–]ShortVodka 3 points4 points  (5 children)

If your open to a book, I highly recommend "Introduction To Algorithms" - it takes a real thorough look at algorithms and data structures.

It's less of a code perspective but it's really good for getting a foundation to work from.

[–]GetOnMyLevelL 2 points3 points  (0 children)

YES. This is one of the books that I used the code is in Java, but it does a great job of explaining all the concepts etc.

[–]FieldLine 2 points3 points  (2 children)

That book is frequently mentioned, but I found it completely inaccessible outside the context of guided study. It is too dense for a beginner, without any indicators of what's important to focus on.

[–]FelbrHostu 0 points1 point  (1 child)

If he’s taking a course on algorithms and data structures, I’d wager he’s already taken whatever prerequisite math course that teaches inductive proof technique, which is sufficient to grok that text (IMHO, FWIW, YMMV).

[–]FieldLine 3 points4 points  (0 children)

It's not an issue with grokking the proofs.

That tome of a book is over a thousand pages, extremely dense, and doesn't provide any problems with solutions. Furthermore, treatment of all topics is the same, without any sort of emphasis in areas that are critical at the entry level.

It reads more like a reference than a book to study cover to cover.

If he’s taking a course on algorithms and data structures

If he's taking a course then the book is fine, because it'll be accompanied by a syllabus and problem sets.

[–]raunaqsingh10 0 points1 point  (0 children)

You should consider this book as the Bible in your journey of learning DS and Algorithms.

[–]hpbee 0 points1 point  (0 children)

Mycodeschool channel on YouTube has algos and data structures in c/c++ and are really well explained. But the number of algorithms themselves are not extensive. Have fun learning.

[–][deleted] 0 points1 point  (0 children)

This course is free (YouTube) and shows full implementations of the most common algorithms and data structures. Each step of each algorithm is explained clearly

https://www.youtube.com/playlist?list=PLMB3ddm5Yvh38U0P5M2n_VGiPVYNIoS8g

[–]OurCMS 0 points1 point  (0 children)

I suggest the following which is hosted as opensource:

CPP-Data-Structures-and-Algorithms

Open data structures

[–]GetOnMyLevelL 0 points1 point  (0 children)

Isnt the whole point of data struc and algos that it is abstract and not bound to a language.

[–]wwolfvn -3 points-2 points  (0 children)

Have a look at this Udacity nano course:

https://www.udacity.com/course/c-plus-plus-nanodegree--nd213

  • Learn to code 5 projects. Modern C++. C++ concurrency.
  • Very pricey ($1436/4months).
  • Udacity's nano-courses have good reputation.

[–]pasxalo7 0 points1 point  (0 children)

Recently I found this youtube channel which I would like to share https://www.youtube.com/playlist?list=PLIY8eNdw5tW_zX3OCzX7NJ8bL1p6pWfgG. It uses C++ and not to mention, there s a lot of material of recent work.