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 : Have at least 2 good projects mentioned in your resume with a link
Tip 2 : Focus on skills, internships, projects, and experiences.
Tip 3 : Make it simple, crisp, and one page
Tip 4 : Only write those skills in which you are good.
This was an online test on the hackerrank platform. The test consists of 15 MCQs question based on DBMS, CN, Operating system and 2 coding questions to be solved in 90 mins.



A subarray is a contiguous block of elements that can be formed by deleting some (possibly zero) elements from the beginning or the end of the original array.
If the given array is [1, 2, 3, 4, 5], then [2, 3, 4], [1, 2], [5] are some subarrays while [1, 3], [2, 3, 5] are not.
If there are multiple subarrays with minimum length, find one which appears earlier in the array (i.e. subarray that starts with lower index).
If there is no such subarray, print an empty line.



Consider ARR = [1, 2, 3, 4, 4], the duplicate integer value present in the array is 4. Hence, the answer is 4 in this case.
A duplicate number is always present in the given array.
lass Solution {
public boolean containsDuplicate(int[] nums) {
HashMap fmap = new HashMap<>();
for(int i: nums){
if(fmap.containsKey(i))
return true;
else
fmap.put(i,1);
}
return false;
}
}
This was 1st technical round taken by the software engineer. Interviewer was very friendly, he started with his introduction and then asked me to introduce myself.
He asked various questions:
• What is the reason of having Multiple table in databases,why not a huge single table?
• DBMS transaction, ACID property.
• DBMS DEADLOCKS.
• Indexing in DBMS.Why Indexing?
• Why C++ is considered to advance then c language.
• What is Structured Programming?
• Discussion on Virtual function, Pure Virtual Function and Abstract Classes.


C++ solution
class Solution {
public:
bool containsNearbyDuplicate(vector& nums, int k) {
map mp;
for(int i = 0; i < nums.size(); i++){
if(mp.find(nums[i]) != mp.end() && i-mp[nums[i]] <= k) return true;
mp[nums[i]] = i;
}
return false;
}
};



Consider the array {2,1,5,6,3,8} and 'K' = 3, the sorted array will be {8, 6, 5, 3, 2, 1}, and the 3rd largest element will be 5.
1) Kth largest element in an array is the kth element of the array when sorted in non-increasing order.
2) All the elements of the array are pairwise distinct.
It was the technical + HR round taken by the technical manager. 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.
Introduction
What are OOPs concepts and its pillar
Is java support multiple inheritance or not
what are acid properties
Write a SQL query to find the 2nd largest salary from employee table
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.
What are Your suggestions for making a company/Organization populate among campus students?
What is your dream company?
What is the biggest challenge in life?
What are your future plans. Where do you see yourself after 2 years.
What is your goal.
Are you comfortable with the new locations of the company?
Tip 1 : Use the star method to tackle situational-based questions.
Tip 2 : Try to interact more with the interviewer.
Tip 3 : Ask questions from the interviewer until it’s not clear to you.
Tip 4 : Try to give the answer to the point and make sure your explanation will be more accurate.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: