Tip 1 : Be confident in the projects you have mentioned in your resume.
Tip 2 : Always discuss your approach with the interviewer first for any problem.
Tip 3 : Always start with a basic solution and then discuss further optimisations.
Tip 1 : Good projects showing your skills (Be clear in what you achieved from those projects)
Tip 2 : Internship experience at the top (It gives you an edge over others)
It was a basic introductory round. The interviewer introduces himself first. The round consisted of 2-3 questions. The interview was at noon around 1 pm.
The interview was a senior developer in the company. He introduced himself, asked me about my projects, hobbies, etc. The round consisted of 2-3 questions. Not too hard once you understand the problem statement.
This was the CTO round. He introduced himself, gave an overview of the company. Then he discussed my projects, my internships. We discussed some DevOps practices since I worked in the DevOps team in my previous internship. Then he gave me a question on problem-solving for which he needed an optimised working solution.


For corner elements, we need to consider only one neighbour for comparison.
For the given array : 10 5 20 30 40 35 50

The red circle at index 1,5 are local minima because elements at index 1, and 5 both are smaller to its neighbours.
The green circle at index 0,4,6 are local maxima, because element at index 4 is greater than its neighbours, and element at 0, and 4 are corner elements and also greater than its one neighbour.
This can be solved using simple linear traversal. But to further optimise the solution, I came up with a recursive approach by using the property of the array that the elements are consecutive. You can solve this using binary search.
This was a HR round. She asked me why I want to join the company, expectations from the company, etc.

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