What should I learn first: Data Structure or Algorithm?

I am able to solve 3-4 questions in the long challenge but not more than that, so I feel like learning DSA. I am confused about what should be the track to learn now if I know basic Data structures( linked list, stack, queue). Please advise me.

Data structures and algorithm go hand in hand. Like you can’t do Breadth First Search without queue.

So i would suggest focus on the 5th problem and why you were not able to solve it. Learn those concepts, upsolve, repeat.

2 Likes