Tip 1 : practice daily.
Tip 2 : Focus on all data structures.
Tip 3 : Build some good projects.
Tip 1: Add projects and Internships if you have done any.
Tip 2: Add only those things which you really know.



For the given 5 intervals - [1, 4], [3, 5], [6, 8], [10, 12], [8, 9].
Since intervals [1, 4] and [3, 5] overlap with each other, we will merge them into a single interval as [1, 5].
Similarly, [6, 8] and [8, 9] overlap, merge them into [6,9].
Interval [10, 12] does not overlap with any interval.
Final List after merging overlapping intervals: [1, 5], [6, 9], [10, 12].
This problem can be solved with a linear scan algorithm. The list of input intervals is given, and we’ll keep merged intervals in the output list. For each interval in the input list:



class graphNode
{
public:
int data;
vector<graphNode*> neighbours;
}
1. Nodes are numbered from 1 to N.
2. Your solution will run on multiple test cases. If you are using global variables make sure to clear them.
We use depth-first traversal and create a copy of each node while traversing the graph. Use a hashtable to store each completed node so we won’t revisit nodes that exist in that hashtable. The hashtable key will be a node in the original graph, and its value will be the corresponding node in the cloned graph.
Tip 1 : Revise the basics of DBMS.
Tip 2 : Practice SQL question on Hacker rank. This helped me a lot.
Write only that projects. that you have done work on.
I was asked if I could relocate to Hyderabad. We discussed the work hours and days.We discussed the compensation.
Tip 1 : Be yourself.
Tip 2 : Be confident and calm in a HR interview.

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?