Tip 1 : Be very clear with your project explanation and try to give example with the real life example .
Tip 2 : Also try to cover all the cs core subjects explanation clearly.
Tip 1: Make it clean with appropriate knowledge and always provide the important links in your resume so that the interviewer can easily go through your achievements .
Tip 2: Provide true information and avoid telling lie in which You are not sure.
It was morning time and from 10:00 am . It happened via the google meet online process and it was very smooth onboarding . Interviewer was very friendly kind of nature .



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.
class Solution
{
public:
int minJumps(int arr[], int N)
{
// Base case: if the first element is 0 or if the destination is unreachable from the first element
if (N <= 1 || arr[0] == 0)
return -1;
int maxReach = arr[0], steps = arr[0], jumps = 1;
for (int i = 1; i < N; i++)
{
// If we have reached the end of the array
if (i == N - 1)
return jumps;
maxReach = max(maxReach, i + arr[i]);
steps--;
// If no steps left
if (steps == 0)
{
// If we can't reach further
if (i >= maxReach)
return -1;
// Increment jumps
jumps++;
// Update steps
if (i < maxReach)
steps = maxReach - i;
}
}
return -1;
}
};
It was again the morning session and the interviewer was very supportive in nature and gave me the hint too to think the approach and finally i came up the solution which he was expecting.




Example :
For the given binary tree :
Output : 24 14 2
Explanation: Rightmost diagonal contains elements {5, 10 , 9} its sum is 24, middle diagonal contains elements {6, 3, 5} its sum is 14, leftmost diagonal contains elements {2}. Thus the answer should be “24 14 2”.
vector diagonal(Node *root){
vector v;
queue q;
q.push(root);
while(!q.empty()){
int sum = 0;
int size = q.size();
for(int i = 0; i < size; i++){
Node *temp = q.front();
q.pop();
while(temp){
if(temp -> left)
q.push(temp -> left);
sum += temp -> data;
temp = temp -> right;
};
}
v.push_back(sum);
}
return v;
}
vector diagonalSum(Node* root) {
// Add your code here
vector ans;
if(!root)
return ans;
ans = diagonal(root);
return ans;
}
It was late evening and happened in a very smooth way.
What is meant by ACID properties in DBMS?
ACID stands for Atomicity, Consistency, Isolation, and Durability in a DBMS these are those properties that ensure a safe and secure way of sharing data among multiple users.
Atomicity: This property reflects the concept of either executing the whole query or executing nothing at all, which implies that if an update occurs in a database then that update should either be reflected in the whole database or should not be reflected at all.
Consistency: This property ensures that the data remains consistent before and after a transaction in a database.
Isolation: This property ensures that each transaction is occurring independently of the others. This implies that the state of an ongoing transaction doesn’t affect the state of another ongoing transaction.
Durability: This property ensures that the data is not lost in cases of a system failure or restart and is present in the same state as it was before the system failure or restart.
Tip 1: Try to give answer with the real life examples
Tip 2: Give answers in your own language and avoid the bookish language

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?