Tip 1 : Practice Atleast 250 Questions
Tip 2 : Prepare atleast 2 good projects
Tip 3 : Communication skills should be good.
Tip 1: Be honest with your resume.
Tip 2: Resume should be crisp and short.
It MCQs consisted of Aptitude, CS Fundamentals (OOP, DBMS, OS, etc) and a few Machine Learning problems.



Do not print anything, just return the number of set bits in the binary representation of all integers between 1 and ‘N’.
First of all, we will add 1 to the number in order to compensate 0. As the binary number system starts from 0. So now n = n + 1.
We will keep the track of the number of set bits encountered till now. And we will initialise it with n/2.
We will keep one variable which is a power of 2, in order to keep track of bit we are computing.
We will iterate till the power of 2 becomes greater than n.
We can get the number of pairs of 0s and 1s in the current bit for all the numbers by dividing n by current power of 2.
Now we have to add the bits in the set bits count. We can do this by dividing the number of pairs of 0s and 1s by 2 which will give us the number of pairs of 1s only and after that, we will multiply that with the current power of 2 to get the count of ones in the groups.
Now there may be a chance that we get a number as number of pairs, which is somewhere in the middle of the group i.e. the number of 1s are less than the current power of 2 in that particular group. So, we will find modulus and add that to the count of set bits which will be clear with the help of an example.



An array c is a subarray of array d if c can be obtained from d by deletion of several elements from the beginning and several elements from the end.
For e.g.- The non-empty subarrays of an array [1,2,3] will be- [1],[2],[3],[1,2],[2,3],[1,2,3].
If arr = {-3,4,5}.
All the possible non-empty contiguous subarrays of “arr” are {-3}, {4}, {5}, {-3,4}, {4,5} and {-3,4,5}.
The product of these subarrays are -3, 4, 5, -12, 20 and -60 respectively.
The maximum product is 20. Hence, the answer is 20.
Can you solve this in linear time and constant space complexity?
Traverse array from left to right keeping two variables minVal and maxVal which represents the minimum and maximum product value till the ith index of the array. Now, if the ith element of the array is negative that means now the values of minVal and maxVal will be swapped as value of maxVal will become minimum by multiplying it with a negative number. Now, compare the minVal and maxVal.
The value of minVal and maxVal depends on the current index element or the product of the current index element and the previous minVal and maxVal respectively.
Interview held in afternoon. It went around for 1 hour.The interviewer was very helpful.



If ‘ARR’ is {1,2,3,4} and ‘K’ = 4, then there exists 2 subsets with sum = 4. These are {1,3} and {4}. Hence, return true.
I was not able to solve at first go but i didnt give up. I spent 30 minutes on it. i was trying and telling every approach to the interviewer.
In the end he gave me a little bit idea and then i told him brute force approach.
What is CRUD operation
Tip 1:Do practice for SQL queries.
Interview held in eveing. It went around for 1 hour.The interviewer was very helpful.



If the given array is [ 2, 3, 1], we need to return [1, 1, -1]. Because for 2, 1 is the Next Smaller element. For 3, 1 is the Next Smaller element and for 1, there is no next smaller element hence the answer for this element is -1.
It was an medium level problem. I used stack for this question. I explained him every corner case. He was satisfied with the solution.
ACID properties, joins, indexing
Tip 1:Do practice SQL queries.



I solved this question in 0(n) and he was happy with the solution.
It was held in evening.
Related to projects mentioned in resume.
Tip 1: Be confident
Tip 2: Dont lie
Tip 3: Good communication skills.
Goals for next 5 years
Tip 1: Be confident
Tip 2: Dont lie
Tip 3: Good communication skills.
Why MTX?
Tip 1: Be confident
Tip 2: Dont lie
Tip 3: Good communication skills.

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