Skip to main content

Command Palette

Search for a command to run...

Leet code phases:

Published
3 min read

Starting :

when we start doing the leetcode and we see lots of tutorials and at that time we solve easy problems as well as medium problems and somehow we manage to solve that problems and we fell very happy and at the same time something started building innerself that i am the guy who solve the leet code problem without any difficulties and till now everything is fine but the problem occurs at the next phase.

Diffulties:

Now til this phase comes some sort of habbits had been build in our self that we will sit for doing the leet code and in just half and hour we will manage to solve 2-3 leet code problems but we should not forget that everyquestion cannot solved with the same time limit because they need different approach and when these types of question comes we get stuck now at this point of time we usually thaught have, that i am good in problem solving so i did this for my self and they keep try that question for day by day and then now again someone whose mindset will have like that i try but did not able to solve may be this is not for me and they quit leet code this is the one of the worst decision.

How to tackle this situation? See while starting leet code or problem solving we must accept that there can be some sort of problem that will require time and for that we should have that amout of patience. So for the begineer the correct approach could be it is good to solve the problem by your self even if the time complexity or space complexity is high but still problem didn’t solve now you should go through solution.

If solved by seeing solution:

There nothing bad to go through the solution but always before watching the solution try solving that question using brute force solution or if you could not able to recognize the patterns try using different approach. So by doing this you will learn about the pure basics of the different pattern and their approach.

Dont do :

Never ever jump from one topic to different topic to quickly it breaks you confidence so due to that you will feel this is not for you and you know to. That this is not right.

Do :

Learn the topic and first solve the easy problem and keep moving with the difficultier one. But again sometimes you will face someproblem in which other conept may be used so dont worry and also dont leave that question just because you dont know much about that topic or concept. So see first if question doesnt require much part of that concept and it require only little part, so its good to go through that concept but not in deeper.

Revision :

Again this is one of the important part of our coding journey, as we know that its a tendency of human that we could not remember everything so its important to build the approach as well as keep practing the older question or related question.

Never ever break you consistency more than 3 days but in case of emergency.