Tip 1: Be prepared to answer questions about your resume.
Tip 2: Elaborate on your projects in detail.
Tip 3: Gain hands-on experience with the technologies relevant to the position you are applying for.
Tip 1: Elaborate your projects well.
Tip 2: Resume should match JD.
Round 1:
Interviewer first asked me to introduce my self and then some basic questions on my projects and questions related to my resume and on flutter.
If the given list is (1 -> -2 -> 0 -> 4) and N=2:
Then the 2nd node from the end is 0.
I first told him the solution by finding the length then optimized it over 1 iteration
Input: ‘S’ =’badam’
Output: ‘ada’
‘ada’ is the longest palindromic substring, and it can be proved that it is the longest possible palindromic substring.
I solved it in best possible way as time was very less.
It was focused on my Resume some deep questions on flutter were asked and some basic system design questions.
a) Duplicate elements may be present.
b) If no such element is present return -1.
Input: Given a sequence of five numbers 2, 4, 5, 6, 8.
Output: 6
Explanation:
In the given sequence of numbers, number 8 is the largest element, followed by number 6 which is the second-largest element. Hence we return number 6 which is the second-largest element in the sequence.
The solution is pity straight forward so i solved it in 2 mins
Some behavioral questions along with 1 DSA Medium level questions which is basically the application of Binary search was asked. and questions related to my Resume.
Do not allocate extra space for another array. You need to do this by modifying the given input array in place with O(1) extra memory.
'n' = 5, 'arr' = [1 2 2 2 3].
The new array will be [1 2 3].
So our answer is 3.
As interviewer asked me to solve it in best possible way i directly solved the question with binary Search in Log(N) time and constant space.
It was just the basic salary negotiation and Discussion round with the HR.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which collection class forbids duplicates?