Should I learn dsa before cp

I know that it is a pretty generic question but I wanted to ask it for me.As of now I am in sem 2 and I am learning dsa I have completed arrays, binary search, strings. Should I actively start doing cp or I should wait until I cover some more data structures and algorithms.

My seniors asked me start giving contests, like yesterday’s lunchtime first 5 ques were doable with knowledge of arrays (div 3) .

You can start solving medium level problems on the topics you mentioned.There are lot of resources these days. As far as CP is concerned, just give as many contests as you can and try to upsolve problems. You will get better sure. Best of Luck :+1: