Applied for campus placements, Compensation: 35k for 10 months Starting July. CGPA: 7 above
ONLINE ASSESMENT
2 easy questions in 45 minutes on their platform. The questions were simple but they were written in the form of a long story like on codeforces. I solved them in around 25 minutes and submitted.
Interview Round 1: 30 Minutes
I answered all questions except the exceptions and abstract class. Other than that I was asked why should I join SAP etc etc.
ROUND 2: 50 Minutes
The interviewer did not open his camera and I was asked to open mine just like the last interview. Again I was asked to introduce myself but was interupted midway. The interviewer did not introduce himself and started with the questions.
I mentioned that I am familiar with the frameworks like Flask, Spring Boot and React [Huge mistake to mention that]
He asked if I knew React, I said that I'm not good at Javascript but I have used basic functions and mostly HTML CSS to make frontend of my backend focussed projects.
After that he asked that 'what is the file extension for react'. I said react does not have a extension. Then he said like python has .py and c++ has .cpp so what is it for react. I said react is a framework and it uses jsx, js and css files together, just like flask is a framework and there's no extension for flask project. I think I sounded a little arrogant while saying this since I got a little frustrated.
Then he asked me to share the screen and create an html file.
Due to some reason he was speaking in half sentences and weird accent. He wanted me to write Typescript code as well which I never mentioned anywhere. Then again I asked can I show a sample react project and then he agreed. I explained the components and stuff. After that he asked me to create a button on html that does something upon clicking using javascript (I have not mentioned javascript on my resume). I created the button tag but couldn't write the javascript function as I already mentioned that I'm weak at javascript.
This whole thing made me very nervous since I was preparing fundamentals and leetcode for a week and it wasn't mentioned anywhere that SAP labs asked for development as well.
Then we moved on to c++. I was asked to write code to return frequency of elements in an array, I coded it in hardly 5 minutes and executed it and showed the output as well. Then he asked about hash maps and explain hashing.
Next question was standard leetcode dp question: https://leetcode.com/problems/maximal-square/
I gave a naive approach and then was asked for a better approach. I was only asked approach and not the code. I thought for a maximum of 5 minutes before he said 'its ok ... '. I could then only mention some wrong approach of storing only location of 1s in a vector (not exactly efficient), I believe I would have figured it was a DP question if I had a few more minutes
The last DSA question was to calculate the transpose of Matrix. For this too I coded it,explained in hardly 5 minutes, and was asked to paste the whole code on chat.
Then he asked about overriding a function, semaphores vs mutex, what is time complexity of binary search and why, and some other questions.
I answered all of them..
Then I was asked logic question
What is the speed of minute hand
What is the angle between hour hand and minute hand at specific time
I answered both.
He asked me if I have worked with Generative AI, I mentioned about a basic Chatbot I made using OpenAI as best as I could.
Then I was allowed to ask questions and I asked what kind of role would I get frontend or backend? He said it's kind of both more like a full stack developer.
There was no response or feedback from the interviewer about any answer I gave, he didn't tell me if I answered incorrectly or gave any hints about anything.
Final Result
9 students were shortlisted for interviews and out of them 8 qualified for HR round. All except me. Upon asking,other people I found out they were not asked anything related to Development (except one student with same interviewer as me) and were given 2 questions for which they got around 20 minutes each. One wasn't even asked to share the screen. The questions to the rest were: Add two numbers represented in the form of strings, reverse a linked list, implement stack using queue, find middle of linked list and longest palindromic subsequence. Some of them didn't even answer both of the questions (some did not even solve both questions in OA) and now they are preparing to join that company.
Thoughts
I think if I revised some basic Javascript and had been given a little more time I could have done better, but as the second interview ever in my life, I am terrified of such interviewers who are not understandable, do not give any response to any of my answers and specifically ask things that I mention I am weak at.
Lessons
Do not rely too much on past interview experiences of others, don't skip basic stuff ever.