Tip 1: Don't learn the question; learn the concept.
Tip 2: First solve the question by yourself, then look for others' solutions.
Tip 3: The quality of the question matters more than quantity (try to do the most liked and most asked questions).
Tip 4: Have at least one good project, and make sure you know all the technologies used in that project.
Tip 1: The resume should not be longer than one page.
Tip 2: You must be aware of everything that is written in the resume.
Tip 3: Highlight your job-related achievements and experience.
First, the interviewer asked me to introduce myself. Then he started asking questions related to my project, which we discussed for around 15 minutes. After that, he asked about DSA and posed 2 DSA questions.



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] overlaps, we 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]
We just need to push the new interval vector to the intervals vector. Then we can sort the intervals vector. Now proceed the same as in the merge intervals problem.



You may assume that given ‘X’ and ‘Y’ definitely exist in the given binary tree.
For the given binary tree

LCA of ‘X’ and ‘Y’ is highlighted in yellow colour.
A node is the LCA if we find p and q in the left and right subtrees of that node. One has to be from the left subtree and one from the right.
If we land on p or q before finding a node that fits the first criteria above, then the node we landed on (p or q) is the LCA.
If we search the left and right subtrees of a node and don't find p or q in a subtree (it returns NULL), that means we can ignore the subtree where we didn't find p or q.
The interview first asked me to introduce myself, followed by a few questions related to the project. Then he jumped onto the DSA part, where he asked me two DSA questions one by one, and I was capable of solving all of them as I had done those questions on online coding platforms.



1. The heights of the buildings are positive.
2. Santa starts from the cell (0, 0) and he has to reach the building (N - 1, M - 1).
3. Santa cannot leave the grid at any point of time.
Initialize a variable reach to 0, which represents the farthest index that can be reached so far.
Loop through the array nums and for each index i, do the following:
a. If i is greater than reach or reach is greater than or equal to nums.length - 1, break the loop as it means reaching the last index is not possible.
b. Update the value of reach as the maximum of reach and i + nums[i].
Return reach >= nums.length - 1, which means whether the last index can be reached or not.



(a, b) -> (a + b, b)
(a, b) -> (a, a + b)
For the coordinates, source point = (1, 1) and destination point = (3, 5)
The output will be true as the destination point can be reached using the following sequence of moves:
(1, 1) -> (1, 2) -> (3, 2) -> (3, 5)
Firstly, he asked me to introduce myself. Then he started asking about my hobbies, background, curricular activities, and also focused on my situation-based skills.
Tell me about yourself.
Tip 1: Do not ask the interviewer what he wants to know about you. You may be asking genuinely, but that just sounds rude.
Tip 2: Do not speak what is already there in the resume. The interviewer wants to know what they have not seen on the resume. And do not speak about anything personal.
Tip 3: Introduce yourself by including certain adjectives like problem-solving, innovative, tech-savvy, creative, quick learner, etc., that best describe you in your professional life to boost your chances.
If your teammate takes all the credit for your work, and only you and the manager know this, what will you do in that situation?
Tip 1: Let them know that you sometimes don't mind these situations.
Tip 2: Also, talk to your manager about the matter.
Was there any point in your career where you made a mistake?
Tip 1: Talk about a mistake you made which you were able to rectify and which didn’t cause any critical damage to your organization.
Tip 2: Talk about what you learned while working on fixing the mistake.
Tip 3: Avoid any mistake that represents a flaw in your personality.

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