Online teaching platforms like Coursera and Udemy help one learn DSA. Besides that, there are many courses on these platforms that are entirely free.