Tip 1 : Must do Previously asked Interviews Questions.
Tip 2 : Prepare OS, DBMS, OOPs, Computer Networks well.
Tip 3 : Prepare well for one project mentioned in the resume, the interviewer may ask any question related to the project, especially about the networking part of the project.
Tip 1 : Practice atleast 200+ questions from leetcode.
Tip 2 : Have at least one project in the resume.
Tip 2 : Must mention every skill and certificate in the resume.
This was an online test on the hackerrank platform. The test consists of 2 coding questions to be solved in 60 mins.



Given students' ratings : [5, 8, 1, 5, 9, 4].
He gives the students candy in the following minimal amounts : [1, 2, 1, 2, 3, 1]. He must buy a minimum of 10 candies.
1. If two students having the same grade are standing next to each other, they may receive the same number of candies.
2. Every student must get at least a candy.



A majority element is an element that occurs more than floor('N' / 2) times in the array.
C++ Solution
class Solution {
public:
vector majorityElement(vector& nums) {
int c1=0;
int c2=0;
int ans1=-1;
int ans2=-1;
for(int i=0;ians;
if(nums.size()/3 ans.push_back(ans1);
if(nums.size()/3 ans.push_back(ans2);
return ans;
}
};
This was 1st technical round taken by the software engineer at Arcesium. Interviewer was very friendly, he started with his introduction and then asked me to introduce myself.



'arr '= [1,2,3,4,5]
'k' = 1 rotated array = [2,3,4,5,1]
'k' = 2 rotated array = [3,4,5,1,2]
'k' = 3 rotated array = [4,5,1,2,3] and so on.



The Linked Lists, where a1, a2, c1, c2, c3 is the first linked list and b1, b2, b3, c1, c2, c3 is the second linked list, merging at node c1.

public class Solution {
public ListNode getIntersectionNode(ListNode headA, ListNode headB) {
/*
1. We will use 2 pointers both will be at head
2. move both pointer by step 1
3. when any of the pointer reach null assign head of other list ans start stepping
4. When both pointer are same return any one pointer
*/
ListNode d1 = headA;
ListNode d2 = headB;
while(d1 != d2){
d1 = (d1 == null) ? d1 = headB : d1.next;
d2 = (d2 == null) ? d2 = headA : d2.next;
}
return d1;
}
}
It was the second technical round taken by the senior software developer. During the interview, the interviewer was very friendly and helpful whenever I had any questions. I was asked to introduce myself after he gave his introduction.
• Why is java platform independent? And how it is platform independent? And Why not c++ is platform independent?
• C++ copy constructor?
• Do Virtual Constructor exist?why or why not??
• What is Virtual Destructor and why? Explain Free and Delete. Difference Between them? Assignment operator in classes.(default and Userdedfined)
• Shallow copy Deep copy.
• How is runtime polymorphism done? explain compiler step to step process?
• Abstract Classes.

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?