Tip 1 : Practice DP based questions as much as you can. Also, be confident during the interview about your solution. For practice, you can prefer Coding Ninjas and Geeks For Geeks.
Tip 2 : Practice atleast 100 Questions of coding
Tip 1: Keep it short. Mention the academic and professional projects you've done. Add your educational details properly with percentage or CGPA obtained.
Tip 2: Have some projects on resume.



Down: (row+1,col)
Right: (row, col+1)
Down right diagonal: (row+1, col+1)
s1- I had practiced enough of DP questions, so this one looked fairly easy. Since it was a standard DP question, the same approach worked here too.



Input: 'arr' = [1, 2, 7, -4, 3, 2, -10, 9, 1]
Output: 11
Explanation: The subarray yielding the maximum sum is [1, 2, 7, -4, 3, 2].
s1- I used Kadane algorithm here to find subarray with maximum sum. It is a standard question for interview.



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.
s1- I was unable to solve this question in given time. I thought of using decimal precision and other things but not able to solve this.
- Morning time
- Environment was good.
- No
- Interviewer was good



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.
s1- As I have to find a number of connected components in an undirected graph
s2- so I simply use Depth-first search to solve this question by visiting each element and mapped it to the number of component in which it belongs. At last, I print the vertices of each component.
- Morning time
- Environment was good.
- No
- Interviewer was good
1- How would your current manager describe you?
2- What would you change about your current job description?
3- How do you stay organized in your current position?
Tip 1: Communication skills is must
Tip 2: Give mock tests.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?