Hey everyone!
Today I appeared for the Infosys SP/DSE hiring process and wanted to share my complete experience. I'd also appreciate some honest opinions about my interview and selection chances.
- Online Assessment (29th November)
I appeared for the OA on 29th November. There were 4 coding questions, and my performance was:
- Q1: 12/12 test cases passed.
- Q2: 2/12 test cases passed.
- Q3: Not attempted.
- Q4: Not attempted.
I wasn't expecting an interview invitation with this OA performance, but surprisingly, I received the interview invitation email on the night of 1st December.
2. Technical Interview
The interview lasted approximately 15 minutes.
Q1. Coding question on wingspan – Array problem
The interviewer gave me an array of N elements containing odd and even numbers.
The condition was:
- If you buy an odd element, you must sell an even element.
- If you buy an even element, you must sell an odd element.
- Buying must happen before selling.
- Maximize the profit (selling price - buying price).
Initially, I thought it was the standard Stock Buy and Sell problem, but after realizing the parity condition, I changed my approach.
I maintained variables for odd buy, even buy, odd sell and even sell, and used a single traversal.
Initially, my execution showed 2/3 public test cases passing. Then after I just click on submit button directly and surprisingly got 12/12 test cases passed. I submitted the solution before the timer ended. But 2/3 public test case still made me think about it, because my approach is correct but the explanation said differently and if one public test case fail so why every private test case passed?
Q2. Linked List
Find the starting point of a loop in a linked list.
I started writing the code on paper, but the interviewer stopped me and asked me to explain the approach instead.
I explained the slow and fast pointer approach and performed a dry run. He gave me another test case and asked me to explain again.
When I asked whether my approach was correct, he said it was partially correct.
Q3. Internship experience
He asked about my previous internship and what I had worked on.
I explained that I worked on both frontend and backend features, including:
- Patient registration
- Invoice generation
- Appointment booking
- Inventory management
Q4. OTP verification
He asked how I implemented OTP verification.
I explained our integration with 2Factor.in and how we verified the OTP submitted by the user.
Then he asked several follow-up questions:
- What if a user requests OTP multiple times?
- I explained disabling the resend button with a timer.
- He asked what if the user keeps requesting after every minute.
- I suggested exponential backoff (1 min, 2 min, 4 min).
- He then asked whether someone could bypass the frontend and directly call the API through Postman or curl.
- I explained backend rate limiting using middleware and checking the time since the previous request.
He responded, "Okay, you are good."
Q5. JWT Authentication
He asked me to explain JWT.
I explained its three parts:
- Header
- Payload
- Signature
I also explained the authentication flow and password hashing.
He asked which library I would use, SHA or bcrypt. I answered bcrypt.
He asked how password verification works, and I explained comparing the entered password against the stored hash using bcrypt.
Q6. JWT Token Storage
He asked where I would store the JWT token.
I answered that I would prefer HttpOnly cookies rather than localStorage because JavaScript can access localStorage.
Q7. CAP Theorem
I explained consistency, availability and partition tolerance.
However, I initially made a mistake and said consistency and availability could be achieved together. He challenged my answer using a banking system example.
I realized my mistake, apologized and corrected my explanation about the CP and AP trade-off during a network partition.
Q8. Docker
He asked whether I had worked with Docker.
I honestly said I hadn't used it professionally but had learned its basics during my internship preparation.
I explained Docker images, containers and the purpose of Docker.
Q9. AI/ML
He asked whether I had worked with AI.
I mentioned my Career Blueprint AI project, where I integrated the Gemini API.
He asked whether I had trained an AI model. I clarified that I hadn't personally trained a model, although my hackathon teammates had worked on model training.
3. Interview Ending
At the end, he asked whether I had any questions.
I asked about stream allocation during training. He explained that it depends on Infosys project requirements as well as employee preferences.
I then asked for feedback, but he said HR would get back to me.
He had a neutral expression throughout the interview. He was quite chill, but I couldn't really judge his reaction.
The entire interview lasted around 15 minutes or slightly less.
4. My Concerns
I'm a little confused about my performance:
- Does solving only 12/12 in Q1 and 2/12 in Q2 in the OA, while leaving Q3 and Q4 unattempted, make the interview invitation surprising?
- Does taking a significant amount of time to solve the first coding question negatively affect my evaluation, even though I submitted it successfully?
- How much would the partially correct linked-list answer and my CAP theorem mistake affect my chances?
- Is a 15-minute interview normal for Infosys SP/DSE? (Excluding wingspan 25 min)
- Is not being asked SQL, DBMS, OS, CN or language-specific questions unusual?
- Does the interviewer's neutral expression and not giving direct feedback indicate anything?
I'd appreciate honest opinions, especially from people who have appeared for Infosys SP/DSE interviews or have gone through this hiring process.
Thanks!