Infosys hires thousands of freshers every year through campus drives, off-campus drives and HackWithInfy. The process is short, usually an online test followed by one or two interviews, but the online test filters out a lot of people. This post covers the test pattern, the three roles, and the questions freshers report most often, with short answers you can adapt.
The Infosys hiring process
For most freshers the process is:
- Online assessment
- Technical interview
- HR interview (sometimes combined with the technical round)
Online test pattern (2026)
PrepInsta reports this pattern for 2026, and notes that the test is adaptive, so the exact mix can change:
| Section | Questions | Time |
|---|---|---|
| Mathematical Ability | 10 | 35 min |
| Analytical Reasoning | 15 | 25 min |
| Verbal Ability | 20 | 20 min |
| Pseudo Code | 5 | 10 min |
| Puzzle Solving | 4 | 10 min |
| English Grammar | 5 | 10 min |
| English Writing | 1 | 10 min |
| Total | 60 | 120 min |
Candidates for the higher roles usually get an extra coding section with about three problems of rising difficulty.
The three fresher roles
- Systems Engineer (SE): the main fresher role. Reported package around ₹3.6 to 4.2 LPA.
- Digital Specialist Engineer (DSE): needs a stronger coding performance. Reported around ₹6.25 LPA.
- Specialist Programmer (SP): the top coding track. Reported around ₹9.5 LPA and above.
Packages change every year, so check the official Infosys careers page or your drive email for current figures.
Technical round questions
The technical round usually starts with "tell me about your project" and then moves to one language, OOP, data structures and SQL.
1. What is the difference between a class and an object?
A class is a blueprint that defines data and behaviour. An object is an instance of that class with real values in memory. Car is a class; myCar = Car("red") is an object.
2. Abstract class vs interface (Java)
| Abstract class | Interface | |
|---|---|---|
| Methods | Can have abstract and concrete methods | Abstract by default; default and static methods allowed since Java 8 |
| Variables | Any type | Only public static final constants |
| Inheritance | A class extends only one | A class can implement many |
| Constructor | Allowed | Not allowed |
Use an abstract class when classes share code. Use an interface when unrelated classes must follow the same contract.
3. What does static mean in Java?
A static member belongs to the class, not to any object. All objects share one copy. Static methods can be called without creating an object, which is why main is static. A static method cannot use this or non-static fields directly.
4. What is garbage collection in Java?
The JVM automatically frees memory used by objects that no longer have any reference. You do not call free() like in C. You can request it with System.gc(), but the JVM decides when it actually runs.
5. What is a lambda function in Python?
A small anonymous function written in one line.
square = lambda x: x * x
nums = [3, 1, 2]
print(sorted(nums, key=lambda x: -x)) # [3, 2, 1]
6. Stack vs queue
A stack is LIFO (last in, first out), like a pile of plates. A queue is FIFO (first in, first out), like a ticket line. Browser back history uses a stack; a printer job list uses a queue.
7. What is a binary search tree?
A binary tree where every node's left subtree has smaller values and the right subtree has larger values. Search, insert and delete take O(log n) on a balanced tree, but can drop to O(n) if the tree becomes skewed.
8. What is hashing?
Hashing maps a key to an index using a hash function, so lookups take O(1) on average. Python dictionaries and Java HashMap use it. When two keys map to the same index, it is a collision, handled by chaining or open addressing.
9. What is the time complexity of binary search?
O(log n), because each step halves the search space. It only works on sorted data.
10. WHERE vs HAVING in SQL
WHERE filters rows before grouping. HAVING filters groups after GROUP BY, so it can use aggregates like COUNT().
SELECT department, COUNT(*) AS employees
FROM staff
WHERE status = 'active'
GROUP BY department
HAVING COUNT(*) > 5;
11. What is a view and what is an index?
A view is a saved query that behaves like a virtual table; it stores no data itself. An index is a separate structure that speeds up searches on a column, at the cost of extra storage and slower inserts.
Coding questions
Write clean code, explain the time complexity, and test with one edge case out loud.
Check an Armstrong number
A number equal to the sum of its digits each raised to the number of digits (153 = 1³ + 5³ + 3³).
def is_armstrong(n):
digits = str(n)
power = len(digits)
return n == sum(int(d) ** power for d in digits)
Sum of digits
def digit_sum(n):
n = abs(n)
total = 0
while n > 0:
total += n % 10
n //= 10
return total
Check if two strings are anagrams
from collections import Counter
def is_anagram(a, b):
a = a.replace(" ", "").lower()
b = b.replace(" ", "").lower()
return Counter(a) == Counter(b)
Rotate an array by k positions (right)
def rotate_right(arr, k):
if not arr:
return arr
k %= len(arr)
return arr[-k:] + arr[:-k]
Mention the k %= len(arr) step. It handles k larger than the array, which is the edge case interviewers look for.
Longest substring without repeating characters (SP level)
def longest_unique_substring(s):
last_seen = {}
start = best = 0
for i, ch in enumerate(s):
if ch in last_seen and last_seen[ch] >= start:
start = last_seen[ch] + 1
last_seen[ch] = i
best = max(best, i - start + 1)
return best
This is the sliding-window approach, O(n) time.
Ways to climb n stairs with 1 or 2 steps (SP level)
def climb_stairs(n):
a, b = 1, 1
for _ in range(n):
a, b = b, a + b
return a
The answer follows the Fibonacci pattern: ways(n) = ways(n-1) + ways(n-2).
HR round questions
- Tell me about yourself. Education, your best project in two lines, one strength with an example, and why Infosys. Keep it near 90 seconds.
- Why Infosys? Mention its training for freshers at the Mysuru campus, the range of client projects, and what you want to build there, in your own words.
- What do you know about Infosys? Founded in 1981, headquartered in Bengaluru, one of India's largest IT services companies. Read the latest annual highlights before the interview.
- Are you willing to relocate and work in shifts? Answer honestly; it affects your posting.
- What are your strengths and weaknesses? Pick a real weakness and say what you are doing about it.
Final tips
- Practice pseudocode output questions. Many candidates lose marks there, not in maths.
- For the English writing section, write short, clear sentences and check grammar before submitting.
- Rehearse your project explanation out loud until you can do it in two minutes without notes.
If you want to practise answering these out loud with timed feedback, AI mock interview practice can help you spot weak answers before the real round.
All the best for your Infosys interview!
Sources: online test pattern as reported by PrepInsta; roles, packages and common questions compiled from Weekday and candidate reports. Check official Infosys communication for the latest pattern.
Top comments (0)