Tip 1 : Prepare your resume well.
Tip 2 : Deploy your projects so that the interviewer can view it. Also provide a hyperlink on your resume.
Tip 3 : Be thorough with Data Structures and Algorithms. Also prepare well topics such as OS,DBMS.
Tip 1 : Deploy your projects so that the interviewer can view it. Also, provide a hyperlink on your resume
Tip 2 : It's not important to have fancy projects. Only mention those on which you're confident.



Down: (row+1,col)
Right: (row, col+1)
Down right diagonal: (row+1, col+1)
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].
I used Kadane algorithm here to find subarray with maximum sum. It is a standard question for interview.



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 I have to find a number of connected components in an undirected graph 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.



1. Delete a character
2. Replace a character with another one
3. Insert a character
Strings don't contain spaces in between.
Firstly I gave the interviewer, a recursive solution then he asked me to reduce complexity as it was exponential of recursive solution so I gave him a top-down DP solution.

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?