[ INFO ]category: Behavioral · Onsite difficulty: difficult freq: first seen: 2023-12-18
[DIFFICULT][ONSITE]OnsiteSWE II (Mid-Level)Accepted
$catproblem.md
I interviewed for the MTS position at Salesforce in Bengaluru. The interview process consisted of multiple rounds across different teams: Industries Cloud, Monitoring Cloud, and Data Cloud.
Industries Cloud
1st Round (OA): I was asked two dynamic programming (DP) questions. One was based on 1D DP and the other on 2D DP. I was able to pass 9 out of 10 test cases in both problems.
2nd Round (DSA): The interviewer asked three data structures and algorithms (DSA) questions. The first was a tree question based on tree DFS traversal and array mapping, which I solved successfully. The second was a linked list question involving in-place removal of nodes, and there was a follow-up question that was a harder version of the problem. Finally, the interviewer asked another linked list problem that involved manipulating two linked lists. I provided working code for all of them.
3rd Round (HLD + Manager): This round was conducted by a senior manager and focused on the work I was doing at my current company. The interviewer then presented a high-level design (HLD) problem for a login system, which involved handling various cases like access for unregistered users, JWT creation for authorization and authentication. This round lasted approximately 40 minutes.
4th Round (Managerial Round): This round was solely based on my resume and involved cross-questioning about the information provided. The interviewer also asked about the implementation of what was written on my resume and explored other approaches for solving the problems discussed.
After two days, my recruiter informed me that the feedback was positive but my experience did not align with the hiring manager's expectations. They wanted to conduct interviews with another team.
Monitoring Cloud
1st Round (DSA): Since I had already qualified the OA, it was skipped for this team. The interviewer asked one LeetCode hard problem that involved mathematics, recursion, and other concepts. I was able to solve the problem with some hints from the interviewer but did not provide a working solution.
2nd Round (LLD): This was a design round that started with basic questions about Kubernetes (K8) and DevOps. After 15 minutes of discussion, we moved to the design problem, which was to design an elevator. I was expected to write working code during the interview. The interviewer kept modifying the problem statement to include more use cases, such as what happens when the lift is overloaded or under maintenance.
3rd Round (Hiring Manager): This was a short round that focused on my current work and the expected responsibilities of the new role. It lasted around 30 minutes.
I received a call from the recruiter stating that the interview feedback was positive but another candidate with 4.5 years of experience was preferred.
Data Cloud
1st Round (DSA): I was asked two hard LeetCode problems. The first involved a custom sorting technique with 1D dynamic programming. I was able to solve it and pass all the test cases. The second problem was a graph problem that involved multi-search Breadth-First Search (BFS)/Depth-First Search (DFS). I was unable to solve it completely and only passed 3 out of 15 test cases.
2nd Round (LLD): I was asked to design a chess game for two players. The interviewer expected me to write fully functional code that could be demonstrated. I was also expected to use appropriate design patterns wherever applicable. The player moves and pieces needed to be implemented with proper methods and classes. This round lasted approximately 80 minutes.
3rd Round (Hiring Manager + HLD): The round started with an introduction and discussion about the projects I had completed at my current organization. The interview then shifted to HLD problems for creating a random UUID generator and monitoring microservices and their uptime. This round also focused on the company's core values and assessing my fit for the team and the company. It lasted approximately 80 minutes.
The next day, my recruiter called and informed me that I had been selected for the role. I received the offer letter after three weeks.