Tip 1 : Never leave any topic from any chapter / Subject
Tip 2 : Learn to explain your thoughts well
Tip 3 : Learn from previous experiences / interviews / problems asked.
Tip 4 : Atleast 4 projects in Resume
Tip 1 : Atleast 4 projects on Resume
Tip 2 : Do not write false things. You always get caught. Be genuine.
Problem Solving and coding interview. Friendly interviewer.
1. Each element in the array represents a node of the heap.
2. Element at index 0 represent the root of the heap.
3. If a node is represented by elements at index ‘i’ then its left and right child is represented by elements at indices ‘2*i + 1’ and ‘ 2*i + 2’ respectively.
Consider ‘ARR1’ = [10, 5, 6, 2] and ‘ARR2’ = [12, 7, 9].
The max-heap obtained by merging can be represented by array [12, 10, 9, 2, 5, 7, 6]
I had solved the problem before.
Anagrams are defined as words or names that can be formed by rearranging the letters of another word. Such as "spar" can be formed by rearranging letters of "rasp". Hence, "spar" and "rasp" are anagrams.
'triangle' and 'integral'
'listen' and 'silent'
Since it is a binary problem, there is no partial marking. Marks will only be awarded if you get all the test cases correct.
Standard problem.
I had done it before, just used a map , linear solution.
General round of interview. Questions based on resume (very few).
Behavioural Round
There are 25 horses among which you need to find out the fastest 3 horses. You can conduct race among at most 5 to find out their relative speed. At no point you can find out the actual speed of the horse in a race. Find out how many races are required to get the top 3 horses.
Tip 1 : Practice atleast 20 puzzles
Tip 2 : Solve quickly
1. An axe that is used to cut a lesser or equal number of logs than its limit can be used again.
2. An axe that is used to cut more logs than its limit will be broken. Thus, it cannot be used again.
3. All the axes have the same limit of cutting logs until broken.
4. An axe may also cut N logs or may not even cut a single log.
Let the number of axes (K) be 2 & the capacity of the log cutting stand (N) be 6.
From the above example, we can see that the maximum number of moves is 3 for 2 axes and a capacity of 6 logs.
Only rough code was required. Easy problem to code, recursion problem.
Standard too.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which keyword is used for inheritance?