Here's 2 amazing resources to learn Data structures and algorithms:
-
Introduction to Algorithms, 4th edition (www.amazon.com)
paid • book • by Thomas Cormen, Charles Leiserson, Ronald Rivest, Clifford Stein • 2022
Few CS students don't have the CLRS book on their bookshelf. It's a comprehensive text covering the fundamentals of algorithms: asymptotic analysis, recurrences, sorting, graph algorithms, dynamic programming, basic and advanced data structures such as hash tables and B-trees.
-
The Art of Computer Programming (www-cs-faculty.stanford.edu)
paid • book • by Donald Knuth • 2022
A masterpiece work of Donald Knuth conceived back in 1962. Now it's four published volumes that cover a vast number of algorithms in great depth. It's advanced but self-contained.