How to Leetcode

How to Leetcode

Hey guys, I’m wondering if someone can guide me how to go about with the Leetcode questions, which ones to grind on so as to get proficient in problem-solving and data structures. I can’t seem to make a start. Any suggestion will be appreciated.


View on r/Nepal by ModernGenghis


Nepal123

2 thoughts on “How to Leetcode

  1. You can use [neetcode](https://neetcode.io/). This has 150 leetcode questions with solutions and explanations if you need help understanding them. It is grouped by topic and difficulty.

    If you need to learn more about DSA, you can pick up any standard DSA books. I love “The Algorithm Design Manual” by Skiena. He has free [youtube lectures](https://www.youtube.com/playlist?list=PLOtl7M3yp-DX6ic0HGT0PUX_wiNmkWkXx), too. There is also an excellent free [coursera course](https://www.coursera.org/learn/algorithms-part1) by Sedgewick.

    Just pick up a language and start solving questions. You will get better quickly.

  2. Interviewbit has problems structured better than leetcode: https://www.interviewbit.com/courses/programming/

    Things i would tell my younger self if I were to start learning DSA again :

    1) Do not take siding window lightly. Do the questions given in Aditya Verma’s sliding window playlist. No need to watch his videos for solution, as it’s not the best (and also in Hindi). But the question selection is excellent.

    2) Do recursion questions extensively before starting with DP questions. TakeUForward on yt has two good playlists on recursion and DP.

    3) Complete either a virtual leetcode contest(1.5hr) or a leetcode interview assessment(1hr) daily, to get extremely comfortable with time limits. Trust me this works really well.

    4) Draw recursion trees on notebook for recursion and DP problems until your able to visualise them in your head without drawing them.

    5) Interviewbit has timer in every question. The less time you take the more you score. Try getting as good score as possible.

Leave a Reply

Your email address will not be published. Required fields are marked *

Also Read

Should I buy a second hand iPhone 13, is it worth it?
r/Nepal

Should I buy a second hand iPhone 13, is it worth it?

I want to buy a new phone but not sure if I should actually buy it. I can wait for a year an buy a brand new iPhone or get a second hand now. Right now I am using the Redmi Note 10S which I bought in 2021. So compared to this it will be […]

Read More
PAN Number, issue in online system
r/Nepal

PAN Number, issue in online system

I dont have my number register with my own citizenship so had to Filled up my form online ird.gov.np ma and the issue is i am not being able to get my OTP code . so when i visited the office they said they cant do anything cause its same procedure for them as well […]

Read More
Who do you prefer wins in the Ilam-2 by-elections?
r/Nepal

Who do you prefer wins in the Ilam-2 by-elections?

Due to the death of Subaschandra Nemwang the ilam-2 HoR seat is empty and the by elections are going to be held on Baisakh 15 next year who do you prefer? View Poll View on r/Nepal by folknepalisocialist Tags: wins, Byelections, Politics/राजनीति, prefer, Ilam2 Related: 🇳🇵 Nepal – Prime Minister Prachanda Addresses United Nations General […]

Read More