I applied online. I interviewed at Infosys (Bengaluru)
Interview
Through hackwithinfy, asked question for DSA, very difficult, all were question on Dynamic programming. hashmaps, linked lists, queue, stack, graphs etc etc. Prepare well. test does not require mic permission
I applied through college or university. I interviewed at Infosys
Interview
There was a brief introduction and then programming questions were asked. There were 3 questions based on greedy,combinatorics and math. I was asked to briefly explain my process before writing the code.
Interview questions [1]
Question 1
You are given an array A of length N.
The value of a subsegment is calculated by multiplying all the values in that subsegment, for example the value of (2, 3, 5) is 2 * 3 * 5 = 30.
Find the total number of ways to partition the array A into consecutive subsegments that cover all elements such that the value of each subsegment is divisible by at least X factors.
Since the number of ways can be large, return it modulo 10^9 + 7.
I applied through college or university. I interviewed at Infosys (Bangalore Rural) in Jun 2024
Interview
It was a good experience mainly focused on DSA , oops, OS and dbms had great experience, they where friendly , prepare basics and some coding questions with will help to crack