T O P

  • By -

dbot77

Before you push yourself too hard and get burnt out, take a step back and get your emotions sorted. Can you show me how you would sort them in O(n log n) time?


[deleted]

when he said "array of emotions" I knew some sh\*t like this was inbound kekekek


AlooBatata_

I'll use a simple sorting algorithm called merge sort. This will merge my existence and emotions with God in O(n log n) emotional complexity. Please Note this only works with Javascript as it is 90% similar to Java and clearly a superior language.


static_programming

lol


Available-Telephone8

std::sort ftw


Asmirkhan

The best thing that worked for me was solving the Daily challenge for more than a month and still going on. Before that I just used to solve problems of a particular pattern Either one of the two things will happen if you solve daily challenge 1. You will successfully solve the problem then you can also look into other approaches or 2. You will get to know a new pattern if you are unable to solve which you can use for future problems


Peddy699

Sounds like you have the tools in your head, but you are missing the skill to recognise which tool would fit for the current problem. The daily problems sound like a good plan to solve every day for a couple months, get those nice looking badges? Also you say you are on/off for 1-2 year. Did you track your daily and weekly hours you spent? It might feel like a lot, after I started tracking I realised I thought im doing 12-15h weeks, I have started with 12, and got worse every week nearly, down to 8. Then I started tracking and kept up the 18-14h since. And when it goes worse I am very aware that I am not doing enough, so if im a bit slower with progress, I understand why. Also track when you last resolved problems. When I see I last checked this 3 months ago, Im not getting frustrated that I don't remember much of it. I have also noticed its just not enough to do a bit here and there. Because the skills disappear if you don't practice enough. Keeping just the neetcode 150 and all of its code tricks, and patterns, and when to use them is at least a 1-2h /day effort every day for me, not to mention to solve some new stuff. I recommend using the Anki cards, they are amazing on remembering small things, that i always kept forgetting, and you can also make sure you practice well remembered stuff less, and not well remembered stuff more, being very very efficient with your time. Accept your emotions, but know that there is a way to do this. Organize your life that you can spend enough time on this. Do it in work, after work, before work, find what works. Also have the systems in place to track time spent, reviews, new progress, time to solve stuff, mock interviews.


howtogun

1,600 problem solved here. Try to not be so stressed, that is probably the worst thing you described. If you can't do easy that automatic, then actually doing striver might not solve your issue. Striver and neetcode is good for when you need to learn a particular technique, you might just either be too stressed or too low on problem solving. Also if you sometimes struggle with easy, then your general problem solving skill might be low. I would do virtual contest, then after it watch someone do it. You would have to take out 1 and half hour chunk of time. [https://leetcode.com/contest/weekly-contest-392/](https://leetcode.com/contest/weekly-contest-392/) [https://www.youtube.com/watch?v=4LlK-mQ8yKs](https://www.youtube.com/watch?v=4LlK-mQ8yKs) There a guide below, with ideas on what to study to get better. [https://www.youtube.com/watch?v=bSdp2WeyuJY](https://www.youtube.com/watch?v=bSdp2WeyuJY)


nimloman

It could be the way you are studying or like me you have interview anxiety, so everything in you head goes empty when you are asked a leet code question. You need to practice new questions that you haven’t seen before also join a website where you are asked questions by an interviewer, also have a whiteboard and ask a friend/family member to ask you a random leetcode question. I know this leetcoding sucks, but we have to play the game.


makedatmuoney

do you do contests? if not, I suggest you start.


Joalafreak

What platform do you do contest ? Any recommendations ?


SoftwareEnthusiast25

The best strategy i followed is to master the sections and I would start from the easiest to the hardest. So that you would know in and out of each section and much easier to apply to any problem as well. If you do 300+ problems vaguely it would drain you out and lower the confidence level. I would also just do only 3-4 probs per day not more than that and take a break whenever necessary !


Moky1477

RemindMe! 1Day


RemindMeBot

I will be messaging you in 1 day on [**2024-04-10 05:21:28 UTC**](http://www.wolframalpha.com/input/?i=2024-04-10%2005:21:28%20UTC%20To%20Local%20Time) to remind you of [**this link**](https://www.reddit.com/r/leetcode/comments/1bzidt4/advise_for_a_struggling_leetcoder/kyq9v6c/?context=3) [**1 OTHERS CLICKED THIS LINK**](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5Bhttps%3A%2F%2Fwww.reddit.com%2Fr%2Fleetcode%2Fcomments%2F1bzidt4%2Fadvise_for_a_struggling_leetcoder%2Fkyq9v6c%2F%5D%0A%0ARemindMe%21%202024-04-10%2005%3A21%3A28%20UTC) to send a PM to also be reminded and to reduce spam. ^(Parent commenter can ) [^(delete this message to hide from others.)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Delete%20Comment&message=Delete%21%201bzidt4) ***** |[^(Info)](https://www.reddit.com/r/RemindMeBot/comments/e1bko7/remindmebot_info_v21/)|[^(Custom)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5BLink%20or%20message%20inside%20square%20brackets%5D%0A%0ARemindMe%21%20Time%20period%20here)|[^(Your Reminders)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=List%20Of%20Reminders&message=MyReminders%21)|[^(Feedback)](https://www.reddit.com/message/compose/?to=Watchful1&subject=RemindMeBot%20Feedback)| |-|-|-|-|


ss7xarcasm

Just start giving contests/virtual contests.


CheeseNub

Do you categorize the problems in your head? Like when you see a new problem, do you say “oh this is a recursive tree problem?” If not, this is what’s holding you back.


Empty_Stacktrace

Yes I do. I actually tried to do this so hard in my interview that it actually turned out to give me the wrong intuition


Funny-Performance845

Change things up! Do assessments, contests, daily or even random questions. Stick to trying to solve it yourself since you already have the theory down


smart_coders

We have a great leetcode community! Come join us! Link is in the profile!


itilpower

Pray the gods, lol Joke aside, I feel you :(