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

Specialist Programmer

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

Interview preparation journey

expand-icon
Journey
I have a technical background; hence, I have learned and studied several technical subjects, including Data Structures and Algorithms, computer networks, DBMS, Operating Systems, and others, which have eventually helped me in getting placements and have helped me to crack interviews. I have been practicing DSA hands-on by solving various problems on various platforms, such as Coding Ninjas, which have also helped me improve my problem-solving skills.
Application story
It was an on-campus opportunity, and the shortlisting was based on resume and eligibility criteria. The company made an eligibility criteria for the applicants to apply.
Why selected/rejected for the role?
Due to the hiring freeze and other circumstances, the results have yet to be officially declared. However, during the last round, the interviewer confirmed my offer.
Preparation
Duration: 6 months
Topics: OOPs, Computer Networks, Operating System, DS
Tip
Tip

Tip 1: Maintain consistency by solving at least a question each day.
Tip 2: Don't hesitate from asking doubts to the interviewer during the interviews.
Tip 3: Always be confident and well-prepared for the interviews.

Application process
Where: Campus
Eligibility: candidate must have atleast 60% in 10th, 12th and graduation(semesters upto which result was declared)
Resume Tip
Resume tip

Tip 1: Add some good projects to your resume.
Tip 2: Have a thorough reading and knowledge of whatever you mention on your resume.

Interview rounds

01
Round
Hard
Online Coding Test
Duration180 Minutes
Interview date31 Jul 2022
Coding problem3

Timing:- 10:am to 1:pm

1. Monster Game

Moderate
25m average time
65% success
0/80
Asked in company
Microsoft

You just bought a game of monsters which consists of various levels consisting of monsters. Each monster has power ‘P’ associated with it. Each monster follows (‘P’ * ‘P’ + 1) % ‘M’ distinct monsters in the next level having values from 0 to [(‘P’ * ‘P’ + 1) % ‘M’] - 1 where ‘M’ is a modulo integer given to you. Find the total number of monsters in all levels you need to finish to clear the game.

Note :

In the first level, there is only one monster with power, ‘P’ = 2.
Try solving now

2. Permutations

Moderate
10m average time
90% success
0/80
Asked in companies
Paytm (One97 Communications Limited)CIS - Cyber InfrastructureTata Consultancy Services (TCS)

A permutation is a mathematical technique that determines the number of possible arrangements in a set when the order of the arrangements matters. A string of length 'N' has 'N'! permutations.

Given an array of distinct integers, return all the possible permutations of the array.

Example:
'ARR[]' = [1, 2]

The size of the array is 2. So, the total number of permutations is 2! = 2. The possible permutations are [1, 2] (the array itself) and [2,1] where the position of element 1 in the original array is swapped with element 2 and vice-versa.   
Note:
1. All the numbers in the array are unique.

2. You can return the answer in any order.

3. The original array is also a permutation of the given array.
Try solving now

3. Longest Increasing Subsequence

Moderate
30m average time
65% success
0/80
Asked in companies
ShareChatFacebookMorgan Stanley

For a given array with N elements, you need to find the length of the longest subsequence from the array such that all the elements of the subsequence are sorted in strictly increasing order.

Strictly Increasing Sequence is when each term in the sequence is larger than the preceding term.

For example:
[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date2 Nov 2022
Coding problem2

1. Kth largest element in the unsorted array

Moderate
10m average time
90% success
0/80
Asked in companies
FacebookUberMicrosoft

You are given an array consisting of 'N' distinct positive integers and a number 'K'. Your task is to find the kth largest element in the array.

Example:
Consider the array {2,1,5,6,3,8} and 'K' = 3, the sorted array will be {8, 6, 5, 3, 2, 1}, and the 3rd largest element will be 5.
Note:
1) Kth largest element in an array is the kth element of the array when sorted in non-increasing order. 

2) All the elements of the array are pairwise distinct.
Try solving now

2. Armstrong Number

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

You are given an integer ‘NUM’ . Your task is to find out whether this number is an Armstrong number or not.

A k-digit number ‘NUM’ is an Armstrong number if and only if the k-th power of each digit sums to ‘NUM’.

Example
153 = 1^3 + 5^3 + 3^3.

Therefore 153 is an Armstrong number.
Try solving now
03
Round
Easy
HR Round
Duration60 minutes
Interview date5 Jan 2023
Coding problem1

This was the HR + technical round, which was held online on Google Meet. It took place in the afternoon at around 4:00 pm, and its duration was about 60 minutes. The interviewer was very friendly. The interview started with my self-introduction, covering all the projects mentioned in my resume. Then, the interviewer asked me some HR questions, such as my hobbies, why I wanted to join Infosys, and what I knew about Infosys. She then asked me some technical questions, including how to code for Merge sort and how Merge sort works. I opened an online compiler, wrote the code, and explained it to her. Next, she asked me about DBMS, why it is needed, and what the DDL, DML, and DCL commands in DBMS are.

1. Merge Sort

Easy
15m average time
85% success
0/40
Asked in companies
Wells FargoThought WorksAccenture

Given a sequence of numbers ‘ARR’. Your task is to return a sorted sequence of ‘ARR’ in non-descending order with help of the merge sort algorithm.

Example :

Merge Sort Algorithm -

Merge sort is a Divide and Conquer based Algorithm. It divides the input array into two-parts, until the size of the input array is not ‘1’. In the return part, it will merge two sorted arrays a return a whole merged sorted array.

subsequence

The above illustrates shows how merge sort works.
Note :
It is compulsory to use the ‘Merge Sort’ algorithm.
Try solving now

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