Tip 1 : Be prepared with OOPs concept, four pillers
Tip 2 : Practice Atleast 150-250 Questions
Tip 3 : Do atleast 2-3 projects host it and mention the links in resume.
Tip 1: mention some 2-3 descent projects on resume.
Tip 2: Do not add irelvent fields in the resume. content is more important rather then stylisng to resume
Timing( was it late night) Not late but interview conducted in the evening
How was the environment? Google meet
Any other significant activity Checked my projects my contribution my past experiences
How the interviewer was? (If it was there any interview) Interviewer was check technical knowledge and personality test



You need to change in the given array/list itself. Hence, no need to return or print anything.
import java.util.Arrays;
public class Solution {
public static void sortZeroesAndOne(int[] arr) {
//Your code goes here
int len=arr.length;
int arr1[]=new int[len];
int c=0;
for (int i=0;i if(arr[i]!=0){
arr1[c]=arr[i];
c++;
}
}
for(int i=0;i arr[len-i-1]=arr1[i];
}
///solution 1
int nextzero=0;
int temp;
for(int i=0;i if(arr[i]==0){
temp=arr[nextzero];
arr[nextzero]=arr[i];
arr[i]=temp;
nextzero+=1;
}
}
}
}



You need to modify the given tree only. You are not allowed to create a new tree.
For the given binary search tree

11 will be replaced by {15 + 29 + 35 + 40}, i.e. 119.
2 will be replaced by {7 + 11 + 15 + 29 + 35 + 40}, i.e. 137.
29 will be replaced by {35 + 40}, i.e. 75.
1 will be replaced by {2 + 7 + 11 + 15 + 29 + 35 + 40}, i.e. 139.
7 will be replaced by {11 + 15 + 29 + 35 + 40}, i.e. 130.
15 will be replaced by {15 + 29 + 35 + 40}, i.e. 104.
40 will be replaced by 0 {as there is no node with a value greater than 40}.
35 will be replaced by {40}, i.e. 40.
public class Solution {
static int sum=0;
public static void replaceWithLargerNodesSum(BinaryTreeNode root) {
// Write your code here
if(root==null){
return;
}
replaceWithLargerNodesSum(root.right);
sum+=root.data;
root.data=sum;
replaceWithLargerNodesSum(root.left);
}
}
This round was TechnoManagerial round where both technical as well as HR questions where asked. Interviewer was very supportive and he just wanted to check your best and your problem solving skills and you personality.
1. Why you are leaving this company?
2. what is toughest situation you have faced previous project.
3. what are thing you are expecting in your new company/project.
4. what are the things you does not want in next company.
5. Tell me a scenario where you were not agreed with the opinion of your team mate and how you have handled this situation.
Tip 1: You have answer in very positive manner answering each and every thing in so ideal way can also create you bad impression.
Tip 2:Dont tell about your previous arguments if any
Tip 3: dont tell your opinions instead tell what HR wanted to hear from you.

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?