Go2X

On This Page

Infosys
Infosys

Infosys Interview Experience

Selection

Infosys Pvt Limited Interview Experience for Fresher Specialist Programmer, Dec 2025

Role

Specialist Programmer

Experience

Fresher

Platform

Campus

Prep Duration

4 Months

Eligibility / Offer Details

6 CGPA (Salary Package: 6.25LPA+ 75K Bonus)

Branch

Computer Science Engineering

Total Rounds

2 Rounds

Application Experience

I had just finished the training phase at Accenture. Infosys had released forms for the SP DSE hiring for the off-campus 2025 batch. I applied through the form, and since it was my second time attempting this drive, I was ready to give my best.

Preparation

Topics Prepared: Dynamic Programming, Binary Search on Answers, Graphs, Trees, Heaps

Preparation Tips

Tip 1: Data structures are a long-term journey; enjoy the learning process and avoid mugging up solutions. Tip 2: Focus on impactful projects rather than random ones. Tip 3: Practice mock interviews regularly.

Resume Tips

Tip 1: An internship is a must. Tip 2: Include an achievements section.

Interview Rounds (2)

Detailed breakdown of each evaluation round, questions asked, and candidate approaches.

Round 1

Round 1 — Online Coding Test

180 minutesHardCleared

Infosys recently changed its pattern. There were 4 questions labeled as Easy, Medium, Hard, and Complex. Each had 12 test cases that needed to be passed. The exam was conducted offline in NCR at Galgotias College of Engineering and Technology. I was able to solve 2 questions—the Easy and Medium ones. The Easy one was not actually easy; it was a hard-level problem, which I have mentioned below. The Medium one was a constructive algorithm question; if you have done competitive programming, only then can you solve such questions. The Hard one was based on partition DP. The Complex one was based on DP on graphs.

Problems & Questions Asked (4)

1
Largest Subarray Sum Minimized
Problem Statement

Given an integer array ‘A’ of size ‘N’ and an integer ‘K'. Split the array ‘A’ into ‘K’ non-empty subarrays such that the largest sum of any subarray is minimized. Your task is to return the minimized largest sum of the split. A subarray is a contiguous part of the array. Example: Input: ‘N’ = 5, ‘A’ = [1, 2, 3, 4, 5], ‘K’ = 3 Output: 6 Explanation: There are many ways to split the array ‘A’ into K consecutive subarrays. The best way to do this is to split the array ‘A’ into [1, 2, 3], [4], and [5], where the largest sum among the three subarrays is only 6. Input Format The first line contains one integer, ‘N’, denoting the size of the array ‘A’. The second line contains ‘N’ integers denoting the elements of the array ‘A’. The third line contains one integer, ‘K’, denoting the number in which array ‘A’ should be split. Output format: Return the minimized largest sum of the split. Note:- You don't need to print anything. Just implement the given function.

Candidate Approach

I applied Binary Search on Answers. The hint is that binary search on the answer is used when we see keywords like “minimize the maximum” or “maximize the minimum.” It is a famous hard-coding problem, and it appeared as an easy question in the Infosys exam.

2
Minimum Number of Deletions and Insertions
Problem Statement

You are given 2 non-empty strings 's1' and 's2' consisting of lowercase English alphabets only. In one operation you can do either of the following on 's1': (1) Remove a character from any position in 's1'. (2) Add a character to any position in 's1'. Find the minimum number of operations required to convert string 's1' into 's2'. Example: Input: 's1' = "abcd", 's2' = "anc" Output: 3 Explanation: Here, 's1' = "abcd", 's2' = "anc". In one operation remove 's1[3]', after this operation 's1' becomes "abc". In the second operation remove 's1[1]', after this operation 's1' becomes "ac". In the third operation add 'n' in 's1[1]', after this operation 's1' becomes "anc". Hence, the minimum operations required will be 3. It can be shown that there's no way to convert s1 into s2 in less than 3 moves. Input Format : The first line of the input contains a string 's1'. The second line of the input contains a string 's2'. Output Format : Return the minimum number of operations required to convert string 's1' into 's2'. Note : You do not need to print anything, it has already been taken care of. Just implement the given function.

Candidate Approach

I solved this using a greedy approach. I started from the left side of the string, since making earlier characters smaller helps in obtaining a lexicographically smaller result. At each position, I checked whether flipping the character would make it smaller. If the character was in the second half of the alphabet (closer to 'z'), I flipped it so that it became closer to 'a'. I used the allowed operations one by one and applied them in a way that improved the string from left to right, without exceeding the given number of operations, k.

3
Maximize Partition Value
Problem Statement

You are given an array of n integers and an integer k. Your task is to divide the array into exactly k non-empty, contiguous subarrays (or "parts"). For each subarray, you must calculate its "value". The value of a subarray is defined as: (sum of its elements) - (its minimum element) + (its maximum element) The goal is to find a partitioning of the original array into k parts such that the sum of the values of all k parts is maximized. Return this maximum possible total value. Input Format: The first line contains two space-separated integers, n and k. The second line contains n space-separated integers, representing the elements of the array. Output Format: Your function should return a single integer representing the maximum possible total value. The runner code will handle printing. Notes: The problem has optimal substructure and overlapping subproblems, making it a classic fit for dynamic programming. A state dp[i][j] could represent the maximum value achievable by splitting the first j elements of the array into i parts. To calculate dp[i][j], you would iterate through all possible split points p < j and consider the value of the last part [p...j-1]. dp[i][j] = max(dp[i-1][p] + value of subarray(p to j-1))

Candidate Approach

I could not solve this, but it seemed like a Partition DP problem.

4
Maximum Value Path in a Graph
Problem Statement

You are given a directed graph with N nodes (numbered 0 to N-1), where each node has an integer value. You are also given an integer k. You can start your journey at any node in the graph. From your current node, you can move to any of its neighbors by following a directed edge. Each move takes one step. You are allowed to perform at most k moves. Each time you visit a node (including your starting node), you collect its value. You are allowed to visit the same node multiple times, and its value is added to your total each time you visit. Your task is to find the maximum possible total value you can accumulate after a path of at most k moves. Input Format: The first line contains three space-separated integers: N (number of nodes), M (number of directed edges), and k (maximum number of moves). The second line contains N space-separated integers, representing the values of nodes 0 to N-1. The next M lines each contain two space-separated integers u and v, representing a directed edge from node u to node v. Output Format: Your function should return a single long integer representing the maximum possible total value. The runner code will handle printing. Notes: This problem can be solved efficiently using dynamic programming. Let dp[i][j] be the maximum value of a path of exactly i moves ending at node j. The state transition would be: dp[i][j] = value[j] + max(dp[i-1][p]) for all nodes p that have an edge leading to j. The base case is dp[0][j] = value[j] for all j. The final answer will be the maximum value found anywhere in the dp table.

Candidate Approach

I could not solve it. The question was on the topic of DP on graphs.

Round 2

Round 2 — Face to Face

20 minutesEasyCleared

The interview round email was sent on the same day as the test. I was shortlisted for the interview for the Digital Specialist Engineer role. The interviewer asked about my internship and what I did during the gap between June and December, so I told him that I was undergoing training at Accenture. It is important to mention that you are employed so that the interviewer perceives you as employable. Speaking from experience, I had faced a similar situation in another interview. I explained my internship by showing the schema and the problem statement. Most of the discussion revolved around how I utilized the June to December gap.

Problems & Questions Asked (3)

1
7th Highest Salary
Problem Statement

7th Highest Salary

Candidate Approach

Tip 1: Practice SQL using ChatGPT. Tip 2: If possible, always provide two solutions in SQL. Tip 3: I explained two approaches—one using LIMIT and the other using subqueries.

2
Extract Digits from String
Problem Statement

You are given a string S which may contain a mix of uppercase letters, lowercase letters, digits, symbols, and spaces. Your task is to create a new string that consists of only the digit characters ('0' through '9') from the original string S. The digits in the new string must appear in the same relative order as they did in the original string. If no digits are present in the input string, your function should return an empty string. Input Format: The first and only line of input contains a single string S. Output Format: Your function should return a single string containing only the extracted digits. The runner code will handle printing this returned value. Notes: The most straightforward approach is to iterate through the input string character by character and use a built-in helper function (like isdigit()) to check if the character is a numeric digit.

Candidate Approach

An easy ASCII code question that even a beginner can solve.

3
Selection Perspective
Problem Statement

I was clear with my fundamentals. This was my second attempt for this role. SQL, internship experience, and DSA are key.

Key Preparation Tips

Prepare DSA thoroughly.

Practice aptitude and puzzle-based questions.

Have at least two good projects on your resume.

Be prepared to explain your projects clearly.

Practice coding problems involving Arrays, Binary Search, DP and Recursion.

Prepare common HR questions such as Tell me about yourself and Who is your role model?

Candidate Approach

More Interview Experiences

Infosys

Infosys

Specialist Programmer

Selection

Infosys privite limited Interview Experience for Fresher Specialist Programmer, Dec 2025

2 RoundsFresherCampus+2
Read Interview Experience
Infosys

Infosys

Specialist Programmer

Selection

Infosys Interview Experience for Fresher Specialist Programmer, Dec 2025

2 RoundsFresherCampus+2
Read Interview Experience
Infosys

Infosys

System Engineer

Selection

Infosys Technologies Limited Interview Experience for Fresher System Engineer, Dec 2025

2 RoundsFresherCampus+2
Read Interview Experience
Go2X

India's leading training and placement platform offering hands-on learning, powered by 200+ IITian and industry experts, connecting students to 1,000+ hiring and referral partners.

Let's Go2X

Stay updated with Go2X

Get course updates, interview tips, and career insights delivered to your inbox.

Contact Us

Address

1st Floor, Plot No 332, Phase IV, Udyog Vihar,
Sector 19, Gurugram, Haryana 122015

Email

support@go2x.live

Phone

+91 94107 10085

© 2025 Go2X Private Limited. All rights reserved.

Made with 🧡 and a lot of late nights.

Interview ExperiencesBlogsAbout UsPrivacy PolicyTerms of ServiceRefund Policy