Algorithms by Sedgewick is pretty good for learning the fundamentals, imo, and sufficient (together with the Cracking the Coding Interview book) to pass interviews at the FAANGs I've worked at (and was an interviewer at for years).
Oooh, I'm a BCtCI author, but I admit Sedgewick is the algo expert! His book is more about data structures and algorithms than about coding interviews (related but very different).
If you needed to completely learn data structures and algorithms from scratch, I would NOT recommend his book, but instead, his FREE COURSE since it is so much more visual (and free): https://www.coursera.org/learn/algorithms-part1
For what it is worth, taking a course on DS&A is very different than getting good at these interviews for most people. The two are closely related but very different.