Tip 1: Practice at least 400 Questions on Data Structures & Algorithms(if FAANG is your dream)
Tip 2: Add two projects to your resume(Can be basic also but don't pick someone else's project else you will get stuck
while answering questions.
Tip 3: Prepare CS subjects like OS, CN, and DBMS(out of OS and CN, one can be basic, and the other one should be thorough)
Tip 4: Prepare for advanced data structures Like Graphs, Trees, Trie
Tip 1: Add two projects that should be live hosted. (Free web hosting platforms like Heroku)
Tip 2: Add the number of coding questions you completed with your platform profile link.
It was an online MCQ + coding round with 5 MCQ questions and 2 Coding questions. The test window was available for a day; I could write any time during that window. One question was from bit manipulation, and another was from sorting.



Do not print anything, just return the number of set bits in the binary representation of all integers between 1 and ‘N’.
My first approach was to count all ones by summing up the zeroth bit, do the '&' operation with one, and do the right shift by 1.
My optimized approach was to use a while loop until n exists and do n &= n - 1. This operation turns off the rightmost set bit (1) in n and does a right shift by 1.



Input:
‘ARR’ = [-6,-3, 2, 1, 5]
If we take a square of each element then the array/list will become [36, 9, 4, 1, 25].
Then the sorted array/list will be [1, 4, 9, 25, 36].
Output :
[1, 4, 9, 25, 36].
I was able to solve it in one try only in O(1).
There were two interviewers. It was a coding + problem-solving round.



1) A prime number is a number that has only two factors: 1 and the number itself.
2) 1 is not a prime number.
Tip 1: Don't use the optimized approach directly, even if the question is easy.
Tip 2: Try to communicate and speak while thinking the logic.
There are 25 horses, among which you need to find the fastest three horses. You can race among at most 5 to find out their relative speed. You need help finding out the horse's actual speed in a race. Could you determine the minimum number of races required for the top 3 horses?
Tip 1: group the horses into groups of 5 and race each group on the race course. This gives us five races.
Tip 2: Now keep a competition between the winners of those five groups.
There are two poles of equal height, 15 meters. One cable with a length of 16 meters is hanging between those two poles. If the height from the cable's center to the earth is 7 meters, what is the distance between the two poles?
Tip 1: If you bring the two poles closer to each other the center of the cable is much lower than its
initial position, and if we bring the two poles very close to each other such that the distance between
them is 0 meters. Then, we see that the cable is precisely divided into two halves.
Tip 2: If the height from the center of the cable to the earth is 7 meters, then the distance between those two
poles are 0 meters.
She asked for basic information about me.
She asked basic questions like where you see yourself in the next five years.
Tip 1: Google these things. Prepare for the answer of short-term goals and long-term goals.

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