Tip 1: Focus on the concept, not on the number of questions.
Tip 2: Do some development; even a simple HTML, CSS, and JavaScript project can work.
Tip 3: First solve the question by yourself, then refer to others' solutions.
Tip 1: Know everything on your resume (don’t include false information).
Tip 2: Keep it to no more than 1 page.
Tip 3: Highlight your job-related achievements and experience.



• The reference to the head of the linked list is not given.
• The node to be deleted is not a tail node.
• The value of each node in the Linked List is unique.
• It is guaranteed that the node to be deleted is present in the linked list.

Copy the data from the next node to the current node. It's clear that the task question is wrong; you cannot delete the node. Instead of merely deleting the provided node, we are corrupting the next node. The question is poorly worded (without clarification about options) and presents a bad solution. In my opinion, the correct answer for the interview is: 'You cannot do this with only the node reference. However, we can perform a similar operation by corrupting the next node. Although it is possible, I do not recommend this solution for production applications.'



Timing was around 2 PM and I was alone in the room. Interviewer was very supportive and humble.



First of all, we will try using the naive approach:



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
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.
Introduce yourself
What are your hobbies?
Why you want to join Rakuten rather than big Tech MNC’s?
What are your greatest strengths and weaknesses?
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

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