Data Structures and Algorithms are the building blocks of a Software Engineer. Irrespective of the domain you are going to choose in your career, you should know how to efficiently manage a big chunk of Data and perform operations on it effectively.
Competitive Programming is one of the best ways to improve your problem-solving skills using Data Structures and Algorithms.