Open in App
Not now

# Infosys hackwithinfy 2019 (SES Interview)

• Difficulty Level : Easy
• Last Updated : 11 Jan, 2023

Round 1:
There were almost 3 Coding Questions I don’t remember any problems with this round. But I was able to solve two of the problems.

Round 2:
There were almost 3 Coding Questions again, I remember 2 of the problems of this round.

1. We just have to find the maximum difference between the indexes of each trough and crest.
Example:

```Input:
8
3 6 2 8 9 5 10 1
Output: 5```

Explanation: So, there are 2 crests at position (1 & 6) and two troughs at position (2 and 5) now you can see that 6-1 > 5-2 therefore answer is 5.

For more knowledge about trough and crest: https://en.wikipedia.org/wiki/Crest_and_trough

2. I remember that was on Prime numbers ad we have to found the no. of prime numbers between the given range. The only problem was that range can be between 1 to 10^18.
3. I was able to solve one problem (crests and troughs one).

Round 3:

1. Tell me about yourself?
2. Give some briefing about the project that you have mentioned in your resume.
3. He asks to write check prime pseudo-code https://www.geeksforgeeks.org/c-program-to-check-prime-number/.
4. How many job interviews you have given before this one?
5. What are your strength and weaknesses?
6. What are your hobbies?
7. Did you watch the Ashes Cricket Match that is going on right now? (I told him that I am in our college cricket team.)
8. Infosys is only in Pune, Hyderabad and Bangalore are u ready to relocate?

In the HR round, we were just told that you will be informed through mail about your selection.
After almost 1-1.5 week we got a mail about the selection and I also got selected for SES role.

My Personal Notes arrow_drop_up
Related Articles