Salesforce MTS | OA and Onsite | March 2022 | India
Summary
I successfully interviewed for a MTS role at Salesforce in India in March 2022, navigating an online assessment and three challenging onsite rounds. I ultimately received an offer.
Full Experience
I was initially contacted by a recruiter on LinkedIn regarding this opening at Salesforce.
Online Assessment
The online assessment was 90 minutes long and consisted of two relatively easy questions. I managed to complete both in about 17 minutes.- The first question asked to check if parentheses were valid in a given list of strings.
- The second question involved finding the maximum gap of unused road given starting and ending locations of cars on a road of size 'n'.
Onsite Rounds
My onsite interviews comprised three rounds.Round 1: Coding (1 hour)
This round had two coding questions. I don't clearly recall the first one, but it was an easy problem. The second question involved an array, where I had to find the number of ways to split it into three subarrays (S1, S2, S3) such that the sum of S1 and S3 was less than S2. This round, and the next, felt like a patience test. Interviewers would often throw a coding question in the last 10 minutes, then press me on failing test cases orNullPointerException errors. They'd also insist on a dry run before I could even compile the code.Round 2: Coding + System Design (1 hour)
This was a mixed round. We discussed the architecture of my current project, though it felt more like the interviewer telling me about its flaws. I was also asked to design a database model for a platform like Redbus and create a class diagram for a library management system. Towards the end, a coding question on 'sliding window maximum' was given. The experience in this round was also not very good, with similar tactics as Round 1. My screen even got blocked once when the interviewer submitted the question herself while I was doing a dry run.Round 3: Hiring Manager
This round was a general discussion about my current role and responsibilities. The hiring manager also elaborated on the new project and the type of work involved.Result
I received an offer for the role.Interview Questions (6)
Given a list of strings, determine if the parentheses in each string are valid. (e.g., '()[]{}' is valid, '([)]' is not).
Given the starting and ending locations of cars on a road of size 'n', find the maximum continuous gap of unused road.
Given an array, find the number of ways it can be split into three non-empty subarrays (Arr(0) to Arr(j), Arr(j+1) to Arr(k), Arr(k+1) to Arr(n)) such that the sum of the first and third subarrays is less than the sum of the second subarray (S1 + S3 < S2).
Design the database schema for a bus ticketing platform like Redbus.
Design a class diagram for a library management system.
Given an array of integers and a window size 'k', find the maximum value in each sliding window.