I have been "studying" for 5-8 hours a day for the past week. I am starting to get really fatigued. I get a headache after a hour or two, make no progress, get frustrated and distracted. I have only been on the studying grind for 1.5 weeks now. I know I have to do this for at least a few more months. I started out struggling with Easy and after one week, I am now only slightly better. I am starting to realize some ideas on how to answer each problem. Still struggling, especially with coding, edge cases, indices, etc. I feel like my brain is tired, sometimes fried. But I know I need to persist and keep going. I think I only function optimally for at most half of the time (whether that is studying EPI/CTCI/CLRS or LC). What is most optimal? When you are tired and not optimally functioning, do you keep going? Until you faint? How many hours should I strive to study per day? I have no job at the moment. Distractions are a problem. I have put 15 minute time limits on all social media and Blind on my phone and computer and force myself to study in a separate room. Still, I am fidgety and tempted to waste time and not study. YOE: zero. PhD (science but not computer science). TC: zero. #engineering #software #swe #996
Take a rest. Set a number of LC to do a day then stop and relax once you hit that number
Take 1-2 weeks off and then cut LC time down to 1-2 hours/ day. Iโd fatigue pretty fast at 5-8 hours of LC/ day too, even if I found solving the problems fun. Youโd be wise to spend the rest of the time developing skills for the job or maybe other skills that you find intriguing.
Yes, but LC is what interviews mostly grade on. Not my knowledge of C++, computer architecture, etc. It makes more sense to prioritize LC?
Depends, some companies also ask system design questions even for entry level roles. Iโve been also asked about Java/C++ from some smaller companies.
Pace yourself. Leetcode is a ballache at the best of times. Counting time tells us nothing. Whats your approach like? If you're spending 5-8 hours trying to blitz through mediums as fast as possible that's nowhere near as beneficial as doing a deep dive into 1 or 2 a day. Also break the monotony by brushing up on other interview fundamentals. System Design, Networking, OS, concurrency are things that I regularly got asked about in interviews. One time I got asked why an array is almost always faster than a linked list in practice, even though in theory linked lists have their benefits. I would've never been able to answer had I not done some random OS reading the day before that interview.
Thanks for your reply. I will take your suggestion and read some more interesting material. I have DDIA and books on C++ that I think would be helpful. My approach is: - open LC Easy or Medium problem (I am going through the LC explore cards at the moment) - stare at it for as long as it takes for me to get an idea of how to solve it. I give myself at least a hour without solution or hints. I may take a break and come back to it. If I am really stuck or I don't have an idea by the end of the day, I peek at the solution. Then, try to implement the code without the solution. I try to challenge myself, which leads to quite a headache after a while. - I write pseudo-code first, then write the code. Sometimes this is where I struggle. There's a higher level of abstract thinking that I am struggling with...for example, imagining what happens in test cases. - at the end of the day, I read from an algo text for a hour or so. CTCI seems very brief. I'll finish the DS and algo chapters of it and then move onto EPI and CLRS at the same time - before I go to sleep, I also try to review the problems I did before and today. Look at the problem, imagine the solution, think about the test cases, then review the code I wrote. Any modifications suggested?
LC is really brain draining, way more than real coding, so no wonder you are burning out with 8 hours a day. I can't even imagine doing 3 hours let alone that lol. Just keep chugging away a bit at a time and slowly your mind will mold into an LC machine. It takes time, repetition and good sleep for the intuition to be cemented.
Start with firecode.io, Itโs does a much better job of helping you slowly progress and in a structured manner.
Seems like I need an invite code?
I agree with everybody who suggests pacing yourself! I started out doing 2 hours every day during summer break. Also if I'm stuck toooo long on a question I look up the solution ๐ . Then I do 3-4 more questions of that type to actually understand the solution. May I suggest Interviewbit? It's an Indian clone of Leetcode but the organization is much better - they separate questions by type so you learn just one thing at a time.
Howโs your sleep?
8-10 hours, sometimes more. Too many of the hours of the day spent sleeping, too little spent productively studying.
AMA
7h
760
I own a 100oz of gold and 1000oz of silver. AMA
Tech Industry
Yesterday
1663
How did Sundar rise so quickly to become Google's CEO?
Tech Industry
Yesterday
2084
Amazon ruined my mental health
Tech Industry
7h
429
Do you leetcode even when you aren't job hunting?
Tech Industry
Yesterday
2778
Tech is dead. Choose a different career
Start with Hacker rank easy. LC easy is next level.
+1
I am so stupid that even LC easy is too much?! ๐