Tip 1 : Stay consistent for at least 90 days to build confidence with DSA.
Tip 2 : Practice Leetcode medium primarily.
Tip 3 : Make notes of every problem.
Tip 1 : Keep it clean and simple.
Tip 2 : Have knowledge of everything written.
It was Leetcode seen the question of medium level.



N = 5
JUMP = [1,2,3,4,5]
ANSWER:- The answer should be YES as you can jump from 1st index to 2nd index, from 2nd index to 4th index, and from 4th index to 5th index.
First I used recursion.
Then memoization to optimize a bit and finally DP. The interviewer was satisfied so I coded the solution.
It was in the afternoon. Interviewer was nice.



For ‘N’ = 3,
All possible combinations are:
((()))
(()())
(())()
()(())
()()()
The idea is intuitive. Use two integers to count the remaining left parenthesis (n) and the right parenthesis (m) to be added. At each function call add a left parenthesis if n >0 and add a right parenthesis if m>0. Append the result and terminate recursive calls when both m and n are zero.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is the best case time complexity of Bubble Sort?