Tip 1 : Practice Questions and focus on grabbing the concept rather than increasing the count.
Tip 2 : Whatever Keyword you use in your CV- Projects or skills known should be well prepared and in-depth Knowledge of the Project such as how to make it Efficient, shortcomings, and Scalability issues should be known.
Tip 3 : Work on Communication skills, very important for MNCs.
Tip 1 : Include good projects and have in-depth knowledge about them, this would increase the chances of your resume getting shortlisted
Tip 2 : Only mention relevant and known skills because it is quite possible that the interviewer starts asking questions about any of those topics.
The OA round was conducted at 8PM in the night and had an initial check using college ID card since it was an on campus opportunity.



The interview round was conducted in the morning and the interviewer was very calm and supportive.



‘S’ = racecar
The reverse of ‘S’ is: racecar
Since ‘S’ is equal to its reverse. So ‘S’ is a palindrome.
Hence output will be 1.
It is one of the basic problem that everyone encounters in the start of their coding journey. I had written the code on a Notepad.
The logic was to compare the first and the last element of the string if it is unequal then print Not a Palindrome otherwise we have to print Palindrome, I have attached the code for the same.
string isPalindrome(string S)
{
for (int i = 0; i < S.length() / 2; i++)
{
if (S[i] != S[S.length() - i - 1]) {
return "Not a Palindrome";
}
}
return "Palindrome";
}
int main()
{
string S = "11100111";
cout << isPalindrome(S);
return 0;
}



If more than one such pair of indices exist, return the lexicographically smallest pair
You may not use the same element twice.
This problem can be solved efficiently by using the technique of hashing. Use a map to check for the current array value x, if there exists a value target-x which on adding to the former gives sum. This can be done in constant time. I have attached the code for reference:
vector twoSum(vector &numbers, int target)
{
//Key is the number and value is its index in the vector.
unordered_map hash;
vector result;
for (int i = 0; i < numbers.size(); i++) {
int numberToFind = target - numbers[i];
//if numberToFind is found in map, return them
if (hash.find(numberToFind) != hash.end()) {
//+1 because indices are NOT zero based
result.push_back(hash[numberToFind] + 1);
result.push_back(i + 1);
return result;
}
//number was not found. Put it in the map.
hash[numbers[i]] = i;
}
return result;
}
What is Join?
What are the differences between the Primary key and the Unique Key?
Given a record of students with Roll Numbers, names, and marks. What will be your Primary key?
How would you club records from two different tables?
Tip 1 : Practice SQL queries
Tip 2 : Read Interview Questions on DBMS from the web.
Tip 3 : Revise Topics such as Joins, Normalisation, etc
How many types of Operating system are there?
What is virtual Memory?
What is Paging?
What is Fragmentation?
Types of Fragmentation?
Tip 1 : Read as much theory as possible.
Tip 2 : Read Interview Questions on OS from the web.
Tip 3 : Revise Topics such as Paging, Fragmentation, etc
The round had initially begun with Introduction and in depth questions over my Project. Then one question was given to me and I tried giving the best for it, it was a bit length code to write though.

Assume that taxis can run simultaneously and there is no waiting period between trips. There may be multiple taxis with the same time cost.
If ‘X=3’, ‘N=2’ and ‘taxiTravelTime=[1,2]’,
Then the answer is 2. This is because the first taxi (index 0, cost 1) can make two trips costing 2 minutes, and the second taxi can make a single trip costing 2 minutes simultaneously.
Step 1 : The problem required me to create different functions for each of the possible problems.
Step 2: I created a time class with am/pm functionality, functions like calculating the fare, and getting time().
Step 3 : Calculate_fare function was calculating total by get_time()
Step 4 : My answer to the problem was double the total hours in the duration however later on I made the change

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