The answer to this question largely depends on one's prior coding experience and how much time you are willing to commit to learning.
For beginners, I recommend taking an introductory course to the program to understand basic coding concepts before diving into data structures and algorithms.
Once you have a strong foundation in programming, you can move on to a course specifically focused on data structures and algorithms.
For experienced coders, I recommend the Data Structures and Algorithms Nanodegree program. This program is designed to comprehensively understand data structures and algorithms, focusing on practical application.
You'll learn critical concepts such as big-O notation, time complexity, and data structures such as linked lists, trees, and hash tables.
By the end of the program, you'll be able to confidently implement popular algorithms such as search and sort and use data structures to solve real-world problems.