This was a hiring drive where there were four rounds conducted in Pune by the Salesforce Team for MTS roles in /. Each round was an elimination round.
Q 1) Count Triplets - Given an int array arr, count the number of triplets such that arr[i] < arr[j] < arr[k] and arr[i] + arr[j] + arr[k] <= target
Q 2) Rod Cutting - Given an int arr length, consisting of rod lengths, repeat the following: 1. find count of rods present 2. find min length 3. remove all rods with min length 4. cut min length from remaining rods
Return an array of count of rods at each step
Solved both the questions with all test cases passed.
2. Onsite Interview 1: DSA - 1 hour Q1) Calendar Conflicts - Design a class and data structures for recommending a time slot for organizing a meeting of a given duration based on your personal calendar and candidates calendar.
The coding had to be done on Hackerrank code pair. Designed the solution, discussed the edge cases and extensibility. In the end, general questions about my current project were asked.
The coding had to be done on Hackerrank code pair. Designed the solution, discussed the edge cases. In the end, general questions about my current project were asked.
Onsite Interview 3: System Design (LLD/HLD) - 1 hour System design of URL shortener system - both LLD, HLD aspects, extensibility, scalability, analytics etc. This was more of a discussion round. I was given a pen and paper to explain my design and thoughts. Questions about my current project were also asked.
Onsite Interview 4: Hiring Manager Round - 1 hour Technical questions about my current project followed by various situation-based questions related to teamwork, conflicts, leadership, raising concerns etc.
Overall, I got a positive feeling about my performance in each round.
Got selected and accepted the offer!