Tip 1: Focus on Dynamic Programming (DP) and Graphs for the coding round, as companies often ask questions about these two topics.
Tip 2: Be thorough with your resume for the interview rounds.
Tip 1: Include a strong project on your resume.
Tip 2: Be thorough with what you have mentioned and be confident about it.
This round consisted of just 1 coding question which was to be solved in 3 hours.



A research team wants to establish a research centre in a region where they have found some rare elements. They aim to locate the research centre as close as possible to all the rare elements to minimize the overall research costs. It is given that all the rare elements' locations are connected by roads, and the research centre can only be built on a road. The team has decided to assign this task to a coder if you feel you have the potential.
Task: Find the shortest of the longest distances from the research centre to the given locations of the rare elements.
Locations are represented in a matrix where 1 denotes a road and 0 denotes no road. The number of rare elements and their locations are given (number ≤ 5), and the order of the square matrix is less than or equal to 20.
I focused on first going ahead with the brute force approach and then trying to optimize my solution. I thought of using DFS and then once I had pretty much discovered what was needed I finally went ahead with BFS.
The approach was simple, at every grid that could be a possible location for the research plant, find the distance from all the rare elements using BFS, store the answer and finally save the best possible location.
This was a technical interview. The interview started about 20 minutes after the test. The interviewer was somewhat friendly and began with a brief description of the company and its role. He then asked a bit about me before starting with the questions.
He then asked me a few questions on OOPs, particularly on inheritance and polymorphism.
He wrote a small code related to a class inheriting some properties from a parent class and then asked me to completely describe the flow of the constructor, destructor, how an object would be created etc.
Then he asked even more follow-up questions on it.
This was a HR round. The HR was nice to talk to and she made a very easy environment in the interview.
A brief about myself. She asked me about my involvement in extracurricular activities at the college since I had mentioned a Position of Responsibility in my resume. Then she asked me how I manage all those stuff and the interview pretty much revolved around my college life only.

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