What's the correct way to do DSA?

Posted by Bizurels@reddit | ExperiencedDevs | View on Reddit | 13 comments

I understand programs well, start to finish whenever I'm seeing them in video.

But when i try to write them myself, I don't remember, and i feel like needing to learn the code. If I can't build logic why can I understand everything when I see it in a video?

What's the correct way to master it?