Tip 1 : As it is a startup, you have to prepare your projects in the resume very well
Tip 2 : Brush through your CS fundamentals.
Tip 3 : Practice coding as they have difficult coding questions in their written test.
Tip 1 : Have projects from different tech stack such as ReactJS, AngularJS for frontend and NodeJS, Springboot for backend etc.
Tip 2 : Practice your coding skills always. Do not leave topics like Graphs and DP. Very important though they are tricky.
Timing : Morning 8AM. It was an online test conducted in our campus. Test duration was for 1 hour.



Input:
4 5
0 1 5
0 2 8
1 2 9
1 3 2
2 3 6

In the given input, the number of vertices is 4, and the number of edges is 5.
In the input, following the number of vertices and edges, three numbers are given. The first number denotes node ‘X’, the second number denotes node ‘Y’ and the third number denotes the distance between node ‘X’ and ‘Y’.
As per the input, there is an edge between node 0 and node 1 and the distance between them is 5.
The vertices 0 and 2 have an edge between them and the distance between them is 8.
The vertices 1 and 2 have an edge between them and the distance between them is 9.
The vertices 1 and 3 have an edge between them and the distance between them is 2.
The vertices 2 and 3 have an edge between them and the distance between them is 6.
1. There are no self-loops(an edge connecting the vertex to itself) in the given graph.
2. There can be parallel edges i.e. two vertices can be directly connected by more than 1 edge.
Step 1 : I applied Dijkstra's algo here, but some of the test cases were failing due to time complexity constraints.
Step 2 : I did not focus on the unit weights as it was well hidden in the meaning of the question. This led me to apply BFS which gives the distances to the nodes in lesser time. After this approach, all my test cases passed.



Step 1: I applied brute force to know all the possible values of A and B whose XOR will be N and then stored the maximum product in a variable. This solution was not the best one as it was passing only 2 test cases out of 10. I could not solve the problem and left it here and tried to focus on the graph problem.
It happened in our college from 12PM to 1:30PM. There was only 1 interviewer in the panel and the interview was face to face. The interviewer was pretty friendly and tried to make me comfortable as much as possible though I was very nervous.



In the below map of Ninjaland let say you want to go from S=1 to T=8, the shortest path is (1, 3, 8). You can also go from S=1 to T=8 via (1, 2, 5, 8) or (1, 4, 6, 7, 8) but these paths are not shortest.

He was adamant that there was no better solution than to apply Dijkstra's algo. It took me half an hour to convince him that BFS works well than Dijkstra's. It almost became a mini-argument that BFS works pretty well. I was not sure whether he was convinced or not but I was sure that I would not be clearing this round because of the mini-argument.
How does Springboot connect to the SQL database?
You must know how springboot works. Know about JPA.
What is Hibernate and how is different from JPA?
Hibernate is an implementation of JPA. It is an ORM tool to persist java objects into the relational databases. Know about such concepts beforehand. Do not use them blindly as they show in some Youtube tutorials. Do research about how a framework or technology is working in the background.
What is the difference between AngularJS and ReactJS?
Why did I choose AngularJS?
This is a trending question in interviews these days. There is no specific answer to this. But whatever you say, make sure the interviewer is convinced. Practice this answer beforehand by making notes from the internet. Also, if there are any personal reasons about why you chose one over the another, make sure to tell that too.
What is DOM (Document Object Model) and how do you define AngularJS DOM?
Know how Javascript works. Learn about the latest interview questions in web development.
What is the concept of async/await? Explain with an example.
This concept is tricky and confusing. You will get used to it once you start using this feature in your projects. But do know about it just in case the interviewer asks. Will boost your interview performance if you answer this question.
Timing was afternoon 3PM to 4PM. I got shortlisted for 2nd round which was the final round for me (the interviewer said this is the last round for me while others had another round). Out of 11 who cleared the written test, only 4 got shortlisted for 2nd round. I was one among the 4. The interviewer was pretty chill and was the Director of Engineering in the company and had an experience of almost 20 years.
Why I choose computer science and did not pursue banking (I attended bank coaching because of parental pressure)?
Just be honest and try to highlight the struggles you faced to reach the position you are in.
What is your future plan?
Where do you see yourself in 5 years or 10 years or 2 years for that matter?
This is where I might have failed to make an impression I guess as I did not know what to answer this question. I answered, I would like to work hard at the start of my career and earn the skills needed to survive in the industry. After about 2 years, I would like to be a mentor for the newly joined employees and after 5 years maybe become a team lead. This was my answer. I was not sure how much he was impressed.
What if there are 2 projects like the following.
1. A new ReactJS application has to be build in iOS for Apple users.
2. An existing website where new features and UI changes needed to be implemented.
Which one would you prefer for and why?
There might be no specific answer to this but I think he was more interested in how eager you are in learning new technologies and how fast you adapt to any other tech stack that is new to you.

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