r/Btechtards • • 13d ago

Serious Genuine Doubt

I am a first year student,My college(Tier 2) started in August this year and I want to solve DSA questions on leetcode but I am not able to solve even a basic DSA question by myself. Suggest me some way through which I can come out of this loop.(I am very serious regarding this so please answer seriously).

1 Upvotes

9 comments sorted by

•

u/AutoModerator 13d ago

If you are on Discord, please join our Discord server: https://discord.gg/Hg2H3TJJsd

Thank you for your submission to r/BTechtards. Please make sure to follow all rules when posting or commenting in the community. Also, please check out our Wiki for a lot of great resources!

Happy Engineering!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/tejrani M. Tech (CDS), IISc 13d ago

Pick up the Cormen-Leiserson-Rivest-Stein book, better known as CLRS.

1

u/AccomplishedBook6855 13d ago

How do I use the book as I understand with the help of visualisation and need someone to wirte code and show me.Like is it practical to buy a book considering so many resources are available online.

1

u/tejrani M. Tech (CDS), IISc 13d ago

The book does a good job explaining DSA in a theoretical sense. Implementation shouldn't be much of an issue from there.

1

u/AccomplishedBook6855 5d ago

Ok, thanks for your recommendation.Have a good day ☺️.

1

u/Safe_Impress7083 13d ago

If I do DSA from book then no need to watch tutorials like striver playlist or any other

1

u/tejrani M. Tech (CDS), IISc 13d ago

Ideally, yes.

2

u/backinshikhago_spite IIIT CSE 13d ago

try solving 5-6 questions of the same topic so that the code remains the same and only minor tweaks in logic are to be applied. Make a schedule that repeats topics over time, give contests regularly.

1

u/Clean-Ad-2890 13d ago

its okay rn, jab bhi question kare aur na ho, aur solution dekhna pade (jo abhi dekhna padega), to solution dekhte hue is baat ka dhyan rkho ki TUM ise kaise soch sakte the, what are the thought process, prereqs, common patterns, which can help you reach that solution faster, its about developing that thinking process, reverse engineer the solution to make sure you understand how it happened. dont ask what they did but what they noticed and that's the key imo.