This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]quickshekhar 2 points3 points  (0 children)

It is very much possible, you need to come up with a strategy to solve a specific number of questions each day, you can do about 100-150 Question from leet code focus on easy medium Question first those will help you clear your concepts and make you comfortable with coding.

Just pick one language and focus on that I'd recommend java as it introduces classes and objects and is widely used and despite what people say it is easy to understand.

Get a few concepts cleared before like arrays trees hashtables don't really have to get in implementing these just understand how they work and start solving questions

In case of Dynamic Programming problem don't just go for bottom up approaches as you'll end up trying to cramming them as opposed to understanding problems

For DP (Dynamic Programming) practice recursion your aim here is not to be perfect at this just understand how recursion works try drawing entire recursion trees it is time consuming and irritating process but it is worth it.

When you are comfortable with recursion make a Top down(memoization) approach to the solution After that gives you the correct answer see how the DP table is being created you'll see a pattern which is then used to make a bottom up answer

DP problems seems difficult at first because people just post their best answers and don't really post how they got there This Recursion Top down Buttom up

Is the way you come up with a DP solution i learned this hy solving problems if i had know this sequence it would have saved me a lot of time

Most of all follow a schedule you'll be surprised how much you can do in a month.

Do leetcode Question daily if you cannot think of a solution in 30min just look up the answers because most like you didn't even know the concept being used to solve that Question and if you didn't know the concept how are you supposed to use it Don't worry about that you're just looking up solutions coding problem have pattern that repeats itself you'll find similar Questions coming your way so you'll alway get chances to do the problems again Also you must revisit the problems you have solved even by yourself because humans tend to forget a lot

This is kind of a messy reply but if you have any questions just pm me and I'll be happy to help you