I prefer the book "Algorithms" 2nd Edition by Sedgewick. It is long out of print but can be had used for a song.
Implement each algorithm in the book in your preferred language. The algorithms themselves are presented in Pascal, which IMHO makes them easier to understand.
Now implement them all in some other language - not your preferred one.
Implement each algorithm in the book in your preferred language. The algorithms themselves are presented in Pascal, which IMHO makes them easier to understand.
Now implement them all in some other language - not your preferred one.