Which goes first stl or data structures and algorithms? So I'm a newbie to c++. I know the basic concepts of c++ as I have already learnt c language. For competitive programming DSA is very important. But I don't know any STL functions.
Is it possible to learn DSA without knowing STL?
Which one is advisory to learn first(STL or DSA) so that it will be easy further?
Also suggest some good references for both stl and dsa.
I think STL (assuming you mean C++ standard template library) is something you sort of learn as you use it. Exposure to DSA (data structures and algorithms) is essential for solving new problems or progressing in CS. Since you are just starting out and partial to C++, any DSA textbook in C++ will be a good reference. Just try to Google search “Data Structures and Algorithms C++,” maybe with your preferred file type.