It was not very roasting. They want to see the approach and attitude in solving a problem. It does not matter which branch of engineering you belong to if you have basic programming knowledge and the right attitude when given a problem.
I applied through college or university. I interviewed at Infosys (Vijayawāda) in Jan 2016
Interview
It is a campus interview took place in the year 2015. First round is the online test which includes aptitude and verbal. Then I went through only 1 technical round and they asked me some logic on sort algorithms.
Interview questions [1]
Question 1
I didn't remember all of the questions.
Fibonacci sequence
I applied online. The process took 2 weeks. I interviewed at Infosys (Chennai) in Mar 2018
Interview
I applied through online.There were 2 rounds of interview. First round is of aptitude round which had reasoning, Aptitude questions. The second round is of Technical HR round. The questions were from software development life cycle, compiler designs, operating systems and some basic datastructures.