Sprinklr | Lead Product engineer
Summary
I interviewed with Sprinklr for a Lead Product Engineer role. The interview involved system design questions about load balancers and a challenging data structures and algorithms problem to find rectangles from a set of points. Despite feeling confident with my answers and solution, I was unfortunately rejected due to allegedly missing corner cases and limited experience.
Full Experience
I recently interviewed with Sprinklr for the Lead Product Engineer position. The first round was with a senior architect. We started with a discussion about my current work, which I confidently elaborated on.
Following that, the interviewer delved into system design concepts, specifically asking about load balancers. I provided thorough answers, which I later verified to be correct.
The technical part then transitioned into a data structures and algorithms question. I was presented with a problem involving a grid of points and asked to find the total number of rectangles that could be formed by joining these points. I managed to code a solution within 20 minutes, ensuring to cover all edge cases and performing a dry run with test cases. The interviewer seemed satisfied with my approach, and the round concluded positively.
However, despite what felt like a strong performance, I was later informed by HR that I had missed some corner cases and had limited experience in software development, leading to a rejection. It was a surprising and frustrating outcome given my perceived performance in the interview.
Interview Questions (2)
Questions related to load balancers, covering various concepts and applications.
|y
|
|
| P1-------P2 P3 ------------- 3
| | |
| P4------P5 P6…………………2
|
| P7 P8 P9…………………1
|
|
|____|_____|_____|____________x
0 1 2 3
Given a data-structure called Point with two integers (positive) carrying X and Y coordinate for the point.
Class Point {int x; int y; Point(int x, int y) { this.x = x; this.y = y; }
}
And an array of 9 such points arranged as depicted (horizontally and vertically aligned as shown),
List<Point> points = new ArrayList<>();
points.add(new Point(1,3)); // P1
points.add(new Point(2,3)); // P2
....
....
points.add(new Point(3,1)); // P9Find the total number of rectangles that can be drawn by joining the given points. E.g. joining P1, P2, P5, P4 creates a rectangle (highlighted in the figure above).