Tip 1: Don't learn the question, learn the concept.
Tip 2: First Solve the question by yourself then jump for other's solutions
Tip 3: Quality of question matters the most rather than quantity. (Try to do the most liked and most asked questions)
Tip 4: Also do have alteast one good project and also you must know all the technologies used in that project.
Tip 1: Resume should not be greater than one page.
Tip 2: You must be aware of everything that is written in the resume.
Tip 3:Highlight your job-related achievement and experience.
First Interviewer asked me to introduce myself and then he started asking question-related about my project and discuss around 15 min and then he started asking about the DSA question. He asked me 2 DSA questions.



1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
First of all we will try by the naive approach,
Create a set of vector triplet to make sure all three triplets are unique.
Run 3 loops of i, j, k to iterate over the array.
The triplet is valid if the values add upto 0.
Insert the valid triplet in the set.



Assume that the Indexing for the linked list always starts from 0.
If the position is greater than or equal to the length of the linked list, you should return the same linked list without any change.
The following images depict how the deletion has been performed.


Copy nexts value to current node
delete the node
The interview first asked to introduce myself and then a few questions related to the project then he jumped onto DSA part where he asked me two DSA question one by one and I was capable of solving all of them as I have done those questions on leetcode.



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 pq in left and right subtrees of a node. One has to be from the left and one has to be from the right
If we land on p or q before finding a node that fits #1 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 pq on a subtree (it returns NULL), that means the can ignore the subtree where we didn't find pq



The diameter of a binary tree is the length of the longest path between any two end nodes in a tree.
The number of edges between two nodes represents the length of the path between them.
Input: Consider the given binary tree:

Output: 6
Explanation:
Nodes in the diameter are highlighted. The length of the diameter, i.e., the path length, is 6.
Please draw a sample tree first. You will see that a diameter is nothing but maximum( left height +right height+1) for a node. Keep updating this value for every node.
You can calculate height of the tree for every node and then compare it with the value (in this case "ans" ). The return value is the height of the tree for a node.
It will take O( N^2 ) if we write a separate height function, as we are visiting each node twice. Why not, visit the tree once and calculate height in the same recursion keep a check on "ans"
Firstly he asked me to introduce myself then he started asking about my hobbies, background, curricular activities and also he focused on my situation based skill.
Why you want to join tekion rather then big Tech MNC’s?
Tip 1: Always show them you are only focused on learning.
Tip 2: Also make them feel that you will stay longer in their company
If your teammate takes all the credit of your work, you and the manager know this only then what will you do in that situation.
Tip 1: Let them know that you will sometimes don't mind with these situations
Tip 2: Also talk to your manager about the matter.
He also asked why you don’t do business(as my family is a business family)?
Tip 1: I told them that I want to make my own life and only by myself
Tip 2: Also I make them feel that have self learning ability.

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?