Tip 1: Practice DSA questions as much as possible.
Tip 2: Be confident in your solution during the interview.
Tip 3: For practice, you can prefer Coding Ninjas.
Tip 1: Keep it short.
Tip 2: Mention the academic and professional projects you have completed.



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.



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





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.

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