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

Digital Specialist Engineer

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

Interview preparation journey

expand-icon
Journey
I pursued my B.Tech in Electrical and Electronics Engineering and started preparing for IES and GATE, but it didn't work out. Later, my friend Satyam insisted that I start preparing for DSA in my third year; ever since, I have been focused on it.
Application story
The Company Came on Campus: We were asked to fill out a Google form asking for all our details, starting from our name, the branch we studied, our CGPA, and whether we had applied in the past six months. They have a cooling period of six months, so they won't allow you to participate in the drive within that period. The last section was to upload the resume. My resume got shortlisted, and after a few weeks, I received the test link. There were three questions to be answered in three hours, and those who answered more than two questions correctly were shortlisted for the interview round.
Why selected/rejected for the role?
I was selected because, for the questions whose answers I didn't know, I at least knew the approach to solve them, so I explained that.
Preparation
Duration: 3 months
Topics: Data Structures, OOPS, DBMS, Algorithms, C++
Tip
Tip

Tip 1 : Work on building Concepts.
Tip 2 : Do at least one internship.
Tip 3 : Do at least one Project.

Application process
Where: Campus
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1: Have at least one internship.
Tip 2: Have at least one Project.

Interview rounds

01
Round
Hard
Online Coding Test
Duration180 mins
Interview date14 Oct 2021
Coding problem3

Time was flexible from 10:00 am to 6:00 pm any time you can attempt. The environment should be silent with good lighting.

1. Group Anagrams

Moderate
30m average time
70% success
0/80
Asked in companies
ThalesBarclaysAdobe

You have been given an array/list of strings 'inputStr'. You are supposed to return the strings as groups of anagrams such that strings belonging to a particular group are anagrams of one another.

An anagram is a word or phrase formed by rearranging the letters of a different word or phrase. We can generalize this in string processing by saying that an anagram of a string is another string with the same quantity of each character in it, in any order.

Note:
The order in which the groups and members of the groups are printed does not matter.
For example:
inputStr = {"eat","tea","tan","ate","nat","bat"}
Here {“tea”, “ate”,” eat”} and {“nat”, “tan”} are grouped as anagrams. Since there is no such string in “inputStr” which can be an anagram of “bat”, thus, “bat” will be the only member in its group.
Problem approach

Tip 1: Do practice Strings problem.
Tip 2: Do work on Concepts.

Try solving now

2. Reverse Words In A String

Easy
10m average time
90% success
0/40
Asked in companies
FacebookAmerican ExpressJP Morgan

You are given a string 'str' of length 'N'.


Your task is to reverse the original string word by word.


There can be multiple spaces between two words and there can be leading or trailing spaces but in the output reversed string you need to put a single space between two words, and your reversed string should not contain leading or trailing spaces.


Example :
If the given input string is "Welcome to Coding Ninjas", then you should return "Ninjas Coding to Welcome" as the reversed string has only a single space between two words and there is no leading or trailing space.
Problem approach

Tip 1: Do easy and medium coding platforms.
Tip 2: Do work on Complexity.

Try solving now

3. Maximum Product Subarray

Moderate
25m average time
75% success
0/80
Asked in companies
AmazonMicrosoftSamsung

You are given an array “arr'' of integers. Your task is to find the contiguous subarray within the array which has the largest product of its elements. You have to report this maximum product.

An array c is a subarray of array d if c can be obtained from d by deletion of several elements from the beginning and several elements from the end.

For e.g.- The non-empty subarrays of an array [1,2,3] will be- [1],[2],[3],[1,2],[2,3],[1,2,3]. 
For Example:
If arr = {-3,4,5}.
All the possible non-empty contiguous subarrays of “arr” are {-3}, {4}, {5}, {-3,4}, {4,5} and {-3,4,5}.
The product of these subarrays are -3, 4, 5, -12, 20 and -60 respectively.
The maximum product is 20. Hence, the answer is 20.
Follow Up:
Can you solve this in linear time and constant space complexity?
Problem approach

Tip 1: Do DP problem from coding platforms.
Tip 2: Do work on time complexity.

Try solving now
02
Round
Medium
Video Call
Duration60 mins
Interview date27 Nov 2021
Coding problem1

Approximately 25 questions were asked on various topics like Data structure, OOPS DBMS, Networking, Operating System and I answered almost all of them.

1. Longest Palindromic Substring

Moderate
20m average time
80% success
0/80
Asked in companies
SamsungSprinklrRed Hat

You are given a string ('STR') of length 'N'. Find the longest palindromic substring. If there is more than one palindromic substring with the maximum length, return the one with the smaller start index.

Note:
A substring is a contiguous segment of a string.

For example : The longest palindromic substring of "ababc" is "aba", since "aba" is a palindrome and it is the longest substring of length 3 which is a palindrome, there is another palindromic substring of length 3 is "bab" since "aba" starting index is less than "bab", so "aba" is the answer.

Problem approach

Tip 1: Do medium level coding problems on string.
Tip 2: Be mindful of time and space complexity.

Try solving now
03
Round
Easy
HR Round
Duration20 mins
Interview date6 Jul 2023
Coding problem1

1. Basic HR Questions

1, Why Infosys?

2. Where do you see yourself in 5 years?

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
Digital Specialist Engineer
3 rounds | 3 problems
Interviewed by Infosys private limited
1042 views
0 comments
0 upvotes
Digital Specialist Engineer
2 rounds | 3 problems
Interviewed by Infosys private limited
817 views
0 comments
0 upvotes
Digital Specialist Engineer
2 rounds | 4 problems
Interviewed by Infosys private limited
1124 views
0 comments
0 upvotes
Digital Specialist Engineer
3 rounds | 4 problems
Interviewed by Infosys private limited
875 views
0 comments
0 upvotes