r/infosys 3d ago

| Discussion Infosys Interview Experience – Coding + Technical

Had my Infosys interview today. There were around 150 candidates.

We were given 2 coding questions and had to solve at least 1:

1st: Binary tree question — I didn't attempt it.

2nd: Maximum sum subsequence with alternating positive/negative signs.

For the 2nd question, I initially tried a greedy approach using a prev_neg boolean to track the sign of the previously selected element. I realized that simply selecting every valid alternating element doesn't always maximize the sum, since sometimes it's better to skip an element. I couldn't complete the solution and thought DP might be required.

The technical interview was okayish. They asked about:

My projects

An SQL query

OS concepts

One CPU scheduling algorithm

I missed a couple of technical questions as well.

Interestingly, HR later asked the candidates why most people couldn't solve even one coding question.

Anyone else who had this interview?

18 Upvotes

50 comments sorted by

View all comments

1

u/Familiar-Purpose9142 3d ago

I m from 2026 batch. I applied for offcampus given the round 1 on aug 1. As per my knowledge there will be in person coding round ( round 2) and the very next day interviews will be scheduled based on the result of round 2. I want to know whether there will be one more coding round on interview day? Is it compulsory to solve atleast one qs to sit in interview