Tip 1: Be consistent.
Tip 2: Always make notes of important topics, especially core subjects.
Tip 3: You need to explain your approach properly and confidently in interviews (attending mock interviews is a must for this).
Tip 1: Have good projects.
Tip 2: If you have prior internship experience, it's a plus point.
They gave me a pseudocode for an OOPS question and asked me to complete it.
1. First, I sorted the elements and stored them in a map, returning the result whenever the function is called (Brute Force).
2. The best approach I suggested is using a priority queue and a map to return the top element.
I have given a coding question, each with 45 minutes to solve and implement.



1. A ‘path’ is a sequence of adjacent pair nodes with an edge between them in the binary tree.
2. The ‘path’ doesn’t need to pass through the root.
3. The ‘path sum’ is the sum of the node’s data in that path.
I solved this by keeping track of the maximum distance at all times, and whenever the sum of the path becomes negative, I reset it to 0.

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