Introduction to Algorithms by Cormen et al.
There are much better books to learn algorithms from. Even Elements of Programming Interviews is better.
It is worth coming back to if you want to read proofs to understand things in depth. But it is terrible as a fundamental instructive text.