Tip 1 : Get strong hold of the basics of DS and algo
Tip 2 : Among the Computer Engineering subjects, you should be very handy with the concepts from DBMS
Tip 3 : Practice.
Tip 1 : Keep the resume as concise as possible.
Tip 2 : Write only relevant projects you did and specify all the previous experiences in short sentences which will give the idea of what the project was.
First 30 minutes was my introduction and discussion about my previous organization's work. Then one coding question.



If 'A' = {3, 5, 4, 1}
then the output will be 2.
Maximum value occurs for the pair (3, 4)
Efficient approach
The idea behind this approach is to create a monotonously decreasing array and comparing its values with the given array to find the maximum distance.
Create an auxiliary array ‘RMax’ such that ‘RMax’ holds the greatest element on the right side of the given array.
Declare a variable ‘diff’ initialized to -1 to find the maximum distance.
Now traverse both the arrays simultaneously from left to right and check for the condition.
If A[i] is greater than RMax[j], then we must move ahead in A[] (or do i++) because all elements on left of A[i] are greater than or equal to A[i].
Otherwise, we must move ahead in RMax[j] to look for a greater j – i value.
We keep on updating the value of ‘diff’ at each comparison.
Space Complexity: O(n)Explanation:
O(N), where ‘N’ is the size of the array.
An auxiliary array of size N is used for the comparisons. So space complexity will be O(N).
Time Complexity: O(n)Explanation:
O(N), where ‘N’ is the size of the array.
We are iterating through the array only once. So overall time complexity will be O(N).
Questions on OOPS (almost all the concepts were covered like polymorphism, overriding, overloading, inheritance, concept of virtual fxns etc.)
Tip 1 : Prepare well for the OOPs concepts
Tip 2 : Also be aware of the position you're applying to. If Java developer, be aware of the concepts of JAVA.



The discussion was mainly around the projects in MMT and about my projects in my previous organisation.
Tip 1 : Don't put too much skills/projects if you are not confident about it, u need not have very rich resume during on campus placements
Tip 2 : Leadership principles can be very helpful for behavioural questions.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?