Question: how long will it take to learn data structures and algorithms?
Answer: This could take 6–12 months depending on various things. Finally, algorithms and data-structures are really the heart of computer science and is still an ongoing area of extensive research. So, really there's enough to keep you occupied for your entire career if you wish to delve deep into its research areas.