Tip 1 : Be confident in your skills
Tip 2 : Explain the projects in interview
Tip 3 : Have a good resume mentioning good projects
Tip 1 : Make it concise
Tip 2 : Should primarily focus on showcasing the projects done



let say we have 3 players and 5 rooms available and the rooms are at positions: 1 2 3 4 6
Here the optimal allocation is in rooms 1 3 6 and the overall focus level is 2.
Step 1 : Let the number of free rooms N in the hotel and the number of chess players C attending the tournament
Step 2 : Create a vector named position to store the positions of the rooms. Read C integers from the user and store them in the vector.
Step 3 : Sort the positions in ascending order using the std::sort function from the library. This is done to facilitate the calculation of focus levels between adjacent rooms.
Step 4 : Use a loop to iterate through the positions vector from index 0 to C - 2. Calculate the focus level for each player as half of the distance between the adjacent rooms: focus = (position[i + 1] - position[i]) / 2.
Step 5 : Run test cases



1. A sequence [arr0, arr1,…, arr(n-1)] is called an Arithmetic progression if for each 'i' ( 0 ≤ i < n - 1) the value arr[i+1] − arr[i] is the same.
2. There is exactly one missing number in the given sequence.
3. All the numbers present in the sequence are distinct.
4. It is the guarantee that the first and last elements of the sequence are not missing elements.
The overall run time complexity should be O(log(N)).
Step 1 : Input the size of the array 'N' and then read the sorted array of 'N-1' distinct integers that form the arithmetic progression sequence.
Step 2 : Since the given array is in an arithmetic progression, calculate the common difference (d) using the first two elements of the array. The common difference remains constant in an arithmetic progression.
Step 3 : Use a binary search algorithm to find the missing element. Set two pointers, 'left' and 'right,' initially pointing to the first and last elements of the array, respectively.
Step 4 : Run test cases
A birthday cake has to be cut into eight equal pieces in exactly three cuts. Find a way to make this cut possible.
Tip 1 : Make the first cut horizontally through the center of the cake to create two equal halves.
Tip 2 : Stack the two halves on top of each other, aligning them perfectly.
Make the second cut vertically through the center of the cake to create four equal quarters.
Tip 3 : Take two of the quarters and stack them together, aligning them perfectly.
Make the third cut diagonally from one corner of the stacked quarters to the opposite corner.
A man buys Rs. 20 shares, paying 9% dividend. The man wants to have an interest of 12% on his money. The market value of each share is?
How much Salary I was expecting?
Tip 1 : Before the interview, research the industry standards, average salaries for similar positions, and the company's compensation practices. This will give you a reasonable range to work with.
Tip 2 : If possible, try to delay discussing specific salary figures until you clearly understand the job requirements and responsibilities.
Tip 3 : Show willingness to consider the entire compensation package, including benefits, bonuses, and other perks.

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