Infosys private limited interview experience Real time questions & tips from candidates to crack your interview

Specialist Programmer

Infosys private limited
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
My journey towards Infosys began when I was working in my previous organization, where I got exposed to several technologies such as Angular, Spring boot, Postgresql, and Hbase while working on a project. Although I had learned Java during my college days and was a decent coder, I realized that I needed to learn the core concepts of JavaScript as it is often asked during interviews. Therefore, I decided to complete a JavaScript course on Udemy by Jonas Schmedtmann, which helped me gain a deep understanding of the language. After finishing the JavaScript course, I focused on enhancing my skills in Data Structures and Algorithms. For that, I registered for a free placement course on GeeksForGeeks and followed it consistently. The course helped me improve my coding skills, but I faced some challenges when I revisited some problems later on. To overcome this, I decided to start giving interviews while continuing to prepare. I updated my profiles on LinkedIn and Naukri.com and applied for jobs. While I didn't hear back from the first organization I applied to, I was approached by an Infosys recruiter through my LinkedIn profile. During this time, Infosys had established its Strategic Technology Group (STG) and was hiring full-stack professionals for the role of Specialist Programmer. STG consisted of highly skilled individuals who worked on the latest technologies, and the compensation offered was higher than what service-based companies generally provided. I gave the interview and everything went smoothly, leading to my joining STG at Infosys.
Application story
I updated my profiles on LinkedIn and Naukri.com. I was approached by an Infosys recruiter through my LinkedIn profile. She sent me one application form to fill with all the details. After I filled and sent her the details, soon my interview was scheduled for Saturday same week. There were two rounds. First was coding round and second virtual interview on video call. After few days I received call for salary negotiation.
Why selected/rejected for the role?
I was able to solve all the coding problems and answer almost all the technical questions in virtual interview as well. Also was honest if there is something I don't know and willing to learn. Basically they verified if whatever I have written in resume and saying I have done is correct or not.
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, Java, Javascript, Spring boot, Microservices
Tip
Tip

Tip 1 : Knowing your resume inside-out will help you answer questions more confidently and effectively during interviews.
Tip 2 : Don't panic if you're asked about something that you're not familiar with. It's better to be honest and transparent. Tell them whatever you know. and if you're unsure or can't recall something, let the interviewer know that you have forgot. If you have no experience with a particular skill or technology, admit it and explain that you haven't had the opportunity to work with it yet.
Tip 3 : Understand your current project and role to show your expertise
Tip 4 : Be consistent with DSA

Application process
Where: Linkedin
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1: Resume should be of single page.
Tip 2: In few words add about work you have done in your projects
Tip 3: Also try to add how your contribution added value to the project. example: By doing automation reduced time by 30%.
Tip 4: In your resume try to add keywords taken from job description that helps in getting your profile shortlisted.

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 minutes
Interview date17 Apr 2021
Coding problem2

It was a coding round for 90 minutes in which two coding questions were there. First was easy and second was medium level. Both the questions were not straight forward instead based on a long and complex story and once you understand the problem correctly it won't take much time to solve the problem if you have prepared well. As I was prepared for hard level problems also, for these I took more time in understanding the problem than solving it and submitted both the problem with good amount of time remaining.

1. Isomorphic Strings

Easy
15m average time
85% success
0/40
Asked in companies
CognizantBarclaysCGI

You have been given two strings, 'str1' and 'str2'.


Your task is to return true if the given two strings are isomorphic to each other, else return false.


Note :
Two strings are isomorphic if a one-to-one mapping is possible for every character of the first string ‘str1’ to every character of the second string ‘str2’ while preserving the order of the characters.

All occurrences of every character in the first string ‘str1’ should map to the same character in the second string, ‘str2’.
For example :
If str1 = “aab” and str2 = “xxy” then the output will be 1. ‘a’ maps to ‘x’ and ‘b’ maps to ‘y’.

If str1 = “aab” and str2 = “xyz” then the output will be 0. There are two different characters in 'str1', while there are three different characters in 'str2'. So there won't be one to one mapping between 'str1' and 'str2'.
Problem approach

Create a hashmap of (char, char) to store the mapping of str1 and str2.
Now traverse on the string and check whether the current character is present in the Hashmap.
If it is present then the character that is mapped is there at the ith index or not.
Else check if str2[i] is not present in the key then add the new mapping.
Else return false.

Try solving now

2. Ninja And Candies

Moderate
15m average time
85% success
0/80
Asked in companies
Disney + HotstarSamsungUber

Ninja is a boy who lives in ninjaland. Every day, during the morning he gets 1 coin from his mother. He wants to buy exactly ‘N’ candies. Each of the candies cost 2 coins usually and 1 coin if it is on sale. Ninja has to buy exactly K[i] candies of the i-th type(he buys candies in the evening).

Ninjas can buy any(possibly zero) number of candies of any type during any day(if he has enough money to do it). If the candy is on sale he can buy it for 1 coin and otherwise he has to buy it for 2 coins.

There are ‘M’ special offers in the candy shop. The j-th offer (D[j], C[j]) means that candies of the C[j]-th type are on sale during the D[j]-th day.

Ninja wants to buy all candies as soon as possible. Your task is to calculate the minimum day when he can buy all the candies.

Problem approach

1. Initialize a sum variable to 0 and an array of size n to store the number of candies given to each child.
2. Initialize all elements in the candies array to 1, since each child must have at least one candy.
3. Traverse the ratings array from left to right, checking if each child has a higher rating than their left neighbor. If so, assign the candy count of the left neighbor + 1 to the current child. Otherwise, do nothing and leave the current child's candy count at 1.
4. Traverse the ratings array from right to left, checking if each child has a higher rating than their right neighbor. If so, assign the candy count of the right neighbor + 1 to the current child, but only if the current candy count is less than or equal to the right neighbor's candy count. Otherwise, leave the current child's candy count unchanged.
5. Compute the sum of all the elements in the candies array and return it as the minimum number of candies required to satisfy the given conditions.

Try solving now
02
Round
Medium
Video Call
Duration50 minutes
Interview date17 Apr 2021
Coding problem3

One hour after submitting the coding round I got a call from recruiter to schedule the video call interview at a gap of 2 hours.I was under the impression that only coding round is planned for the day but as it was saturday and I had no other commitments went forward with it. Interview was on video call where I was asked about my current project and what that project do. Moving on to the techincal questions related to javascript, java, spring boot and few more questions from random topics. Interviewer was analysing me on my whole skill set other than in which I was direcly involved. Even after telling there is a different team who do these I was asked multiple questions on devops and testing related stuff. Thankfully as I had a very good knowledge about my project I was able to answer almost all of them and I think it helped me during salary negotiation.

1. Javascript Based questions

1) What is hoisting
2) What is closures
3) Difference between promise and observable
4) What is callback hell
5) What is async await
6) How inheritance works in Javascript

Problem approach

Tip 1: Be ready for the common javascript based conceptual questions like hoisting, closure etc.
Tip 2: Questions are mostly driven by the response we provide. Callback hell and async await related questions came as I mentioned a little about them while answering promise and observable. 
Tip 3: Try to drive the interview towards things in which you are more confident.

2. Java, Spring boot and microservice related questions

1) Which annotations I have used in my project
2) What is discovery/eureka service
3) What is gateway service
4) Which JPA implementation we are using and how it helps
5) Tell about Java 8 features
6) Implement one streams function that takes and array and multiply each element by 2 and then sums them.
7) How can we handle asynchronous programming in java.: CompletableFuture and Future

Problem approach

Explained about general annotations like @SpringBootApplication, @Entity, @Repository etc.
Explained about eureka and gateway service with reference to project

3. Technical Questions

1) Have you faced any performance issue and how you handled it
2) Which tool is used for performance testing
3) What is SingleSignOn. How you implemented that. As I had this on my resume
4) What is Multitenancy, how it helps and how you implemented that only at high level. As I had this also on my resume
5) Where are you deploying services. Is it cloud or on premises
6) Have you written junit tests
7) Tell some different types of testing
8) Which tools are used for monitoring.
9) What is docker
10) There are two tables having these columns. Provide a SQL query with which you can fetch only these columns. : Based on joins
11) One beginner level program also I was asked to write.

Problem approach

Tip 1: Have a basic idea on how you can optimise your code to perform better. Not necessary but knowing about these makes good impression.
Tip 2: Atleast have a basic overview of all the tools that are being used in your project and what they do even if you are not working on them directly.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

To make an AI less repetitive in a long paragraph, you should increase:

Choose another skill to practice
Similar interview experiences
Specialist Programmer
2 rounds | 4 problems
Interviewed by Infosys private limited
925 views
0 comments
0 upvotes
Specialist Programmer
2 rounds | 3 problems
Interviewed by Infosys private limited
875 views
0 comments
0 upvotes
Specialist Programmer
2 rounds | 11 problems
Interviewed by Infosys private limited
1239 views
0 comments
0 upvotes
Specialist Programmer
2 rounds | 4 problems
Interviewed by Infosys private limited
131 views
0 comments
0 upvotes