Tip 1 : Practice DP based questions as much as you can.
Tip 2 : Also, be confident during the interview about your solution. For practice, you can prefer Coding Ninjas and others.
Tip 1: Keep it short.
Tip 2: Mention the academic and professional projects you've completed. Add your educational details properly with the percentage or CGPA obtained.



Down: (row+1,col)
Right: (row, col+1)
Down right diagonal: (row+1, col+1)



Given 'NUM' : 1.75
Irreducible fraction can be represented as 7/4.
Note that 14/8 = 1.75 as well, but 14/8 is not an irreducible fraction.
In order to preserve precision, the real number will be given to you in the form of two strings : the integer part, and the fractional part.
The integer part will contain not more than 8 digits, whereas the fractional part will always contain 8 digits.



For 'N' : 4
Pattern :
4 3 2 1 2 3 4
3 3 2 1 2 3 3
2 2 2 1 2 2 2
1 1 1 1 1 1 1
2 2 2 1 2 2 2
3 3 2 1 2 3 3
4 3 2 1 2 3 4



V is the number of vertices present in graph G and vertices are numbered from 0 to V-1.
E is the number of edges present in graph G.
The Graph may not be connected i.e there may exist multiple components in a graph.



As this value might be large, print it modulo 10^9 + 7



1. Delete a character
2. Replace a character with another one
3. Insert a character
Strings don't contain spaces in between.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?