Infosys delivers IT services and consulting to client companies, and a large part of that work is building and improving the digital platforms clients run every day, such as a retailer's online store, a telecom operator's customer app or a manufacturer's dealer portal. As a campus hire, expect fundamentals set inside those platforms, teamwork with people you have just met, and feedback taken well. What to show here: clean basics, teamwork with strangers and feedback taken well. Each question below has what the interviewer is checking, an answer frame and a sample spoken answer to adapt.
How Infosys hires, in its own words, and its questions for every job →
“In a hackathon I was placed in a team with three students from other colleges. We had one day. I suggested we each say what we were good at and what we did not want to do, which took ten minutes and saved hours. One teammate and I disagreed on whether to build the app or a web page first. Instead of arguing, we agreed to build the smallest web version and add the app only if time remained. I kept a shared list of who was doing what. We finished with your result. I learned to make roles clear early with new people.”
Weak answers describe working alone within the team, or show no way of dealing with the disagreement.
“During my internship, a senior engineer reviewed my first pull request and left many comments. The main one was that my functions did too many things and nobody could test them. I felt bad for an evening. The next day I asked him for ten minutes and he showed me how he would split one of them. I rewrote the whole change with small functions and wrote tests for each. He approved it and later asked me to review a junior's code the same way. The result was your result. Now I read my own code as a reviewer before I send it.”
Weak answers claim they have never had hard feedback, or describe defending the original work instead of learning from it.
“First I would find out the real format from the client, such as fixed length, letters and digits only, and whether the last character is a check character. Before validating, I would trim spaces and convert to upper case, because people type serial numbers from a label in many ways. Then I check length, allowed characters and the check character, in that order, so the message tells the person exactly what is wrong. I would test with a correct number, one that is too short, one with a letter O instead of zero, one with spaces around it, and an empty string.”
Weak answers write a single regular expression with no thought for how people actually type, or test only the happy path.
“For finding one product by its exact code, I would use a hash map, because it gives the answer in roughly constant time no matter how many products there are. A hash map cannot answer a range question well, since it has no order. For products between two prices, I would keep products in a structure sorted by price, such as a balanced tree, and walk from the lower bound to the upper bound. That costs the log of the number of products to find the start, then the number of results. In a real store these become database indexes, one on code and one on price.”
Weak answers use a list and scan for both cases, or cannot explain why a hash map fails at range queries.
“I would create a read endpoint for service centres that takes a latitude and longitude as query parameters, plus an optional limit. It is a read, so it uses the get method and can be cached for a short time. The response is a list of centres with name, address, distance, opening hours and a link to each centre's details. If the location is missing or malformed, it returns a bad request status with a message naming the problem. No centres nearby is not an error, so it returns an empty list. A failure inside the service returns a server error status without exposing internal details.”
Weak answers use a post request for a read, or return an error for an empty result.
“I would start with a normal cart and a normal discount and check the exact total by hand. Then the edges: an empty cart should give zero, a discount of zero should change nothing, and a discount bigger than the total should never make the total negative. I would test a cart with several units of the same item, and totals that end in fractions, to see that rounding is done once at the end and in the way the client expects. Negative prices or quantities should raise a clear error. Each test has one purpose and a name that says what it checks.”
Weak answers test only one happy case, or do not consider what a negative total would mean for the store.
“I would not just rerun the pipeline and hope. I would read the log to find the first real failure, not the last message. Then I compare my machine with the pipeline: language version, dependency versions, environment variables, and whether the tests run in a different order or in a different time zone. A common cause is a test that depends on a file or a database left behind by another test. I would try to run the tests the way the pipeline does, from a clean folder. When I find the cause, I fix it properly and write a short note in the ticket so the next person knows.”
Weak answers mark the test as skipped to get a green build, or say it works on my machine and wait.
“I want my first years to be about learning how software is built and improved when real customers use it every day. Infosys works on that kind of platform for client companies, such as online stores, telecom apps and dealer portals, and I would see how a change goes from an idea to something a customer touches. I know it means working in teams with client engineers, following their standards and learning whatever tools the project uses. I like that variety. In a few years I want to be an engineer a squad relies on for careful, tested work.”
Weak answers talk only about training or brand, and say nothing about the kind of work.
No figures on this page: pay depends on the level, the city and the offer in front of you. When the offer comes, the free salary negotiation script helps with that part.
ClapAssist is an AI interview assistant for Mac and Windows. It listens to the interview on your computer and shows you what to say, in short lines you can read while you talk. Your live interview audio and screen are never stored. Your resume and notes are saved to your account so the app fills them in on any computer. It is hidden from screen share on every plan, including Free; only you can see it.