The interview started with a HackerRank round, which contained LeetCode medium-level questions to be solved in 120 minutes.
- The second round was a CoderPad round. It was a face-to-face live coding round. The questions were:
a. You have an array containing scores of students, for example, [[Bobby, 20], [Arun, 30], [Bobby, 60]]. You have to find the maximum average marks out of all the students' average marks. If the average is a decimal, then return the floor integer value. In the above example, the output should be 40 (i.e., (20+60)/2).
b. Find the maximum contiguous repeating letter in a string and return its starting index and count of that repeating sequence. For example, given string = "aabbbbcccbb", the output is [2, 4], since the most repeating letter is 'b' in 'bbbb'.
- Then, three interviews were scheduled on the same day:
a. Data Structures
b. Software Engineering Practices
c. Software Design and Architecture.
I was able to solve both questions in the Data Structures round, but I was still not selected, and I don't know why. I eventually didn't attend the next two rounds.
Note: I have given random examples in the problem statements as I don't remember them properly.
Overall, I had a negative experience with the Data Structures round interviewers. It seems they don't want to value the experience and skills that a candidate possesses. They were always expecting an approach they were aware of, but by definition, problem-solving doesn't always have only one approach; it can have multiple approaches with optimal complexity.
I'm feeling happy to not be part of such a team.