How to begin preparing algorithms?

I am in 2nd year of CS but in our curriculum we have algorithms in 3rd year and data structures currently.
But I wish to prepare them now as I have much time which I don’t feel would be there in 3rd year.

So what are some good resources for preparation?

this is best organized way that you will find. and refer geeks and tushar roy videos for trees and for graphs, follow hackerearth.com , its the best place to learn , n moreover the link has problems for practice for every algorithms, so do not just read and leave , do solve problems to have a more clear grasp on the concepts.

2 Likes

All good resources are mentioned by @raj79 just want to add one more Do Read CLRS also termed as bible of algorithms it is the best resource to learn algorithms.

2 Likes

CLRS—> Introduction to Algorithms by T.H. Cormen, Charles E Leiserson,Ronald L Rivest, Clifford Stein

That book is thick af :stuck_out_tongue:

3 Likes

follow the above link

Yes this is a warning that book is hell thick even i refrain from opening that book :stuck_out_tongue:

2 Likes

So shall I begin with CLRS( the thick one)? Or those resources.

if u r a beginner in algorithms then dont head towards CLRS start off your journey with geeksforgeeks and slowly you will automatically realize whether you should move towards CLRS or not. CLRS demands good grasp of Discrete maths so choose accordingly

//