Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
This was a technical round with questions on DSA and OOPs.
What is a constructor?
What are virtual functions?
What is an interface?



F(n) = F(n-1) + F(n-2),
Where, F(1) = F(2) = 1.
For ‘N’ = 5, the output will be 5.
We take three integers a, b, c and we initialized a=0, b=1 as now we want to optimize the space by only storing “2” last numbers as we need only them.
Now we run a loop up to our “Nth” number and by using property the next number is the sum of two previous numbers like “c=a+b.
Now we update “a=b” and “b=c” at every step of the iteration.
In this way when our loop finished “b” contains the “Nth” Fibonacci number.
Return ‘b'.
Technical round with questions on DSA mainly.



Was not able to solve the question using DP.



Can you solve each query in O(logN) ?
Find the mid index.
If the value(key) being searched for is at the mid index, then return the mid index.
Compare values at start index, end index, and mid-index:
If the left subarray is sorted, check if the value(key) to be searched lies in the range:
If it does, then search space reduces between [start, (mid-1)].
Otherwise, the search space reduces between [(mid + 1), end]
If the right subarray is sorted, check if the value(key) to be searched lies in the range:
If it does, then search space reduces between [(mid + 1), end].
Otherwise, the search space reduces between [start, (mid -1)]
Repeat from step-1 until the key is found.
Return -1 if never found.

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