Tip 1 : Basic DS problems related to all topics must be practice throughly with dry run
Tip 2 : Be prepared to explain the projects you have worked on clearly
Tip 3 : OOPS concept should be clear
Tip 1 : Mention projects done with brief and clear description
Tip 2 : Mention skills that align with the job description and stay prepared with them.
Was asked to complete the test any time on the weekend.
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 question was easy. All cases passed in single run.
Face to face round on Zoom mainly focused on problem solving and oops concepts. one coding question.
Then asked some oops concepts. I had chosen preferred language as java, so was asked java related questions as well mainly from data types, stream API and collections.
N=3
We can climb one step at a time i.e. {(0, 1) ,(1, 2),(2,3)} or we can climb the first two-step and then one step i.e. {(0,2),(1, 3)} or we can climb first one step and then two step i.e. {(0,1), (1,3)}.
First I solved it with recursion. Then was asked to provide iterative approach. After taking some I provided the iterative solution as well. The interviewer was satisfied.
There were 30 questions based on basic maths(quant), logical reasoning and english.
Tip 1 : Quite easy. Any science graduate can solve these problems.
Tip 2 : Just have a look on the samples that are provided by the company to have an idea.
This round was taken by a senior engineering manager. Asked a coding problem mentioned below in problem section.
Then he went deep into my projects and asked multiple questions related to them. Main focus was to know how well I knew the system.
Then also asked concepts related to DBMS and sql.
'ARR[]' = [1, 2]
The size of the array is 2. So, the total number of permutations is 2! = 2. The possible permutations are [1, 2] (the array itself) and [2,1] where the position of element 1 in the original array is swapped with element 2 and vice-versa.
1. All the numbers in the array are unique.
2. You can return the answer in any order.
3. The original array is also a permutation of the given array.
This was basically formal round. I was asked about my work at previous company and what was my motivation to join this company, my expectations and future goals if got selected. After a brief interaction this round ended early.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which SQL keyword removes duplicate records from a result set?