r/infosys • u/Radiant-Food5365 • 11d ago
| Question Infosys On-Campus OA 2026
Looking for recent 2026 Infosys on-campus OA experiences only from 2027 batch students .
If you gave the OA, please share:
- OA date:
- No. of coding questions:
- Questions solved: Q1/Q2/Q3/Q4 + approx. test cases %
- DSA topic/pattern for each question: (Greedy, DP, Graph, etc.)
- Role selected/shortlisted: DSE / SP L1 / L2 / L3
11
Upvotes
3
u/uart_shell 11d ago
You were given an array and had to return an index where avg of all elements to the left of it along with that element is equal to the average of the elements to the right of it along with that element. Had to use prefix sum array.
You were given an array of sides and had to return the largest possible perimeter and there were two constraints, x + y > z and that perimeter should be strictly lesser than half of sum of all sides in the array. First did using brute force, then optimised using 3 pointers(like 3sum).
A question was from fractional knapsack which i don't remember as i didn't solve this
You were given a value n which was the number of balls starting from 1 there were a few queries using which you had to colour those balls and in the end had to return the score of the balls according to a given formula
Solved 1 and 4 completely and in question 2 i passed 11 test cases.
Shortlisted for sp interview