Tip 1 : Go through your resume properly and mention only those points in which you are comfortable to answer.
Tip 2 : Prepare interview question on any one programming language properly
Tip 3 : Be prepared with any one of your project ( if done )
Tip 1 : Have at least one project or experience in your resume.
Tip 2 : Do not put false things on your resume.
Timing :- They conducted test in day time on weekends.
Problems :- Round consist of 3 coding problems.
Environment :- Test was web proctored.
Other :- Only 1 problem is needed to clear this round.
1. Day starts with hour 1 and ends with hour ‘DAY_HOURS’.
2. Each hour of the prime group should be in a different part of the day.
3. If there is no prime group then return zero.
4. ‘DAY_HOURS’ should be divisible by ‘PARTS’, meaning that the number of hours per part (DAY_HOURS/PARTS) should be a natural number.
Let ‘DAY_HOURS’ = 20 and ‘PARTS’ = 2
Hence the view of our day would be in the following format:
1 2 3 4 5 6 7 8 9 10 - Part 1
11 12 13 14 15 16 17 18 19 20 - Part 2
1-11 Not a prime group because 1 is not prime.
2-12 Not a prime group because 12 is not prime.
3-13 Because both 3 and 13 are prime, it is an equivalent prime group.
4-14 Not a prime group because 4 and 14 are not prime.
5-15 Not a prime group because 15 is not prime.
6-16 Not a prime group, because 6 and 16 are not prime.
7-17 Because both 7 and 17 are prime, it is an equivalent prime group.
8-18 Not a prime group, because 8 and 18 are, is not prime.
9-19 Not a prime group because 9 is not prime.
10-20 Not a prime group because both 10 and 20 are not prime.
Hence there are 2 equivalent prime groups in the above format which are 3-13 and 7-17.
Timing :- 10 a.m. - 1 p.m. ( 3 hours )
Problems :- 3 coding problems were in this round ( Easy, Medium, Hard ) basis. You can not check the submission results in this round. So, can't be sure whether solution you submitted is correct or not. PPI oppurtunity for roles in infosys (SE, SES, Power Programmer) were based on this round.
1. The grid has 0-based indexing.
2. A rotten orange can affect the adjacent oranges 4 directionally i.e. Up, Down, Left, Right.
After getting the PPI offer from Infosys and waiting for long 2 months. On 12th October my interview was scheduled, it was a 1 hour interview 12 noon - 1 p.m. Interview was conducted on Infosys Meridian ( Infosys Own Platform ). A meeting id was provided in mail, and we can not join before interviewer. HR contact number was provided in mail.
Interview begin :-
Interviewer :- Good afternoon, So tell me something about your family forget about your acdemics now. ( He was trying to make me comfortable ).
Me :- Told about my family, what they are doing and something about myself.
Interviewer :- You are from electrical, then why you preferred coding instead of going Navratna Electrical companies ( Bhel, NTPC)
Me :- I started coding from 2nd year and i found myself more interested in this. So, i just followed my passion.
Interviewer :- In which programming language are you comfortable ?
Me :- C++
Interviewer :- Why?
Me :- Because its faster than Java and Python and easy to implement. And i take part in competitive programming contest on Codechef, Codeforces so, C++ consists of Standard Template Library which is beneficial.
Interviewer:- What is this pointer?
Me:- This pointer represents to the current object in a class.
Then he asked few more question on C++ ( difference between call be value and call be reference, namespace, some C++ libraries)
Interviewer:- In which CSE topics are you comfortable?
Me:- DS and Algo, OOPS
Interviewer:- Can you write some queries?
Me:- I practised one day before few SQL queries but i was not confident. So, dont want to give a try I answered "No sir".
Interviewer:- What is flux?
Me:- Magnetic flux passing through a unit area.
Then he start asking few more question form electrical core. I was not able to answer. I said him I am not good in electrical core. I am more interested to solve any DS/Algo question.
Interviewer:- Make a doubly linked list of 5 elements and apply merge sort on it. He asked me to share the screen and open any of my favourite online editor.
Me:- I coded on Codechef-IDE. First dicuss the logic with him and then coded witn explaining him each line. Th code run successfully and Interviwer seems to satisfy.
Then, he pasted a piece of code in Python in a doc sheet and send me. He asked me to solve that problem. It was based on concepts of OOPS. Consisting of 3 classes and relation of Inheritance, Copy constructor, Parameterised Constructor was there in that problem. I step by step solve that problem and gave final output to interviewer. Interviewer was satisfied with output and said it was correct.
Interviewer:- I am done with interviewer. I check your coding knowledge. Do you have any questions for me?
Me:- Asked about training process in infosys.
Verdict:- Selected
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you write a single-line comment in C++?