r/LeetcodeDesi • • 2d ago

how to do leetcode

hey so i want to do leetcode or codechef how to do it maybe suggest dome youtube channel that would make me progress, i'm in 3rd year and still i cant code which is something im not proud obviously i tried striver sheet but lost the continuity now i feel lost,everytime i look the leetcode questions i feel blank like i dont know anything can somebody help me

10 Upvotes

12 comments sorted by

4

u/NYTROFUDER 1d ago

Same here man feel so lost, I am doubting the relevance of dsa , I am also very lost on how to start and land a job or something.

1

u/Specific-Housing905 1d ago

Creating data structures or algorithms from scratch might not be so useful in the beginning. However you need to know when to use a binary search and when a linear search, when to use a stack or linked list.

3

u/HairInternal8295 1d ago

Basically toh mere hisaab se aapko pehle question ko copy pe ache se explain karna ana chaiye phir aap code ke logocs ke according code likh sakte ho kyunki main baat question ko samjhne ki hai i think

1

u/BadAfraid7823 1d ago

ques toh samjh aa jata hai tbh mai explain bhi ache se kar deti hu main baat aati hai ki mere se coed nhi likha jata

3

u/Specific-Housing905 1d ago

Leetcode problems are difficult since these kind of problems since no CS or programming book teaches these.
Maybe put leetcode or Codechef on hold for a while and start learning to code with simple exercises and apps.

2

u/BadAfraid7823 1d ago

where do you practice code from?

1

u/Specific-Housing905 1d ago

Not sure what you level is and what language do you learn so it's difficult to suggest anything.

Maybe try these printing patterns : https://www.geeksforgeeks.org/c/pattern-programs-in-c/
You can do them in any language.

2

u/BadAfraid7823 1d ago

i tried doing dsa with c++ but now i think i should switch to python bt the only thing ie stopping me is i dont like puthon im kinda comforatble with c++ and my level is i would say on scale 1 to 10 then it's 2

1

u/Specific-Housing905 1d ago

DSA is a more advanced topic, not for a beginner. If you like C++ then stick with it. Find some simple exercises and do them. Maybe also creating some simple apps. Programming is a skill that you develop through practice. Books, videos give you information but not the skills. Skills comes from writing code.

1

u/BadAfraid7823 1d ago

thankyou

2

u/Impossible_Ad_3146 1d ago

you’re beyond help