1st Interview and 1st Company for My Batch
1st Round (DSA + Technical)
It was more like an online test, where I was asked around:
3 DSA questions
1 SQL query
2-3 Linux commands
1 messy code problem (I had to figure out what the code was doing)
1 server improvement question (e.g., the server is taking more time than expected; how would you improve it?)
2nd Round (P2P Interview)
They asked 2-3 basic questions, like introducing yourself, etc.
Then they moved on to which languages I’ve worked with, and I said Java and JavaScript.
The interview focused on Java:
First question: Create an ArrayList and find its maximum value.
Then improve the same code to find the second maximum value.
(I took a bit too long on this one.)
Next, they gave me a HashMap problem that I solved within a few minutes.
Then they asked me SQL queries:
Left Join
Self Join
got selected for the 3rd round.
3rd Round (DSA Round)
They gave me the first question, and I solved half of it. It was about a HashMap.
In the middle of solving, they stopped me and asked what I was doing, so I quickly explained the code.
The code had a couple of issues, and I panicked and couldn’t recover for the rest of the interview.
The second question was also about HashMap, but I couldn’t solve it either.
I built up a logic but didn’t know exactly what they were asking, no matter how I explained. They kept asking if I could solve it only this way.
After that, they moved on to my project and asked questions about React. I think I answered that part pretty well (I’m guessing).
Then they gave me a time-related problem:
Take input from the user for hours, minutes, and seconds, and create a Time class.
If the user inputs seconds, update the time accordingly.
The time cannot go beyond 24 hours.
Next Round: HR Round
I don't think I'll be selected after my poor performance in the 3rd round.
(Hope for the best)