Salesforce interview experience Real time questions & tips from candidates to crack your interview

MTS

Salesforce
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
I started by solving questions topic-wise in DSA. Once I was confident enough, I practised miscellaneous questions and participated in coding contests. After gaining confidence with the DSA questions, I started with solid design principles, practised low-level design problems, and simultaneously gave mock interviews. This helped me gain confidence in my skills and receive constructive feedback, which prevented me from making mistakes in real interviews.
Application story
I applied through a referral from a random person on LinkedIn. I was then contacted by the recruiter for the hiring drive. The interview had three rounds: DSA, LLD, and HM.
Why selected/rejected for the role?
My DSA round went well. There were a few gaps in my design round, which were tested again during the HM round, but I managed to clear it.
Preparation
Duration: 4 months
Topics: Data Structures, Low Level Design, High Level Design, Algorithms, OOPs
Tip
Tip

Tip 1: Understand the question properly, gather requirements, and then answer.

Tip 2: Don't start coding as soon as you see the question. First, think of the approach, discuss it with the interviewer, and then code.

Tip 3: Don't use buzzwords if you don't know about the topic.

Application process
Where: Referral
Eligibility: No
Resume Tip
Resume tip

Tip 1: Make it specific to the role that you are applying for.

Tip 2: Highlight the skills and projects that you've completed.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date13 Oct 2023
Coding problem1

1. Break The Prison

Moderate
0/80
Asked in companies
ZSMicrosoftInnovaccer

A prisoner is planning to escape from prison. The prison’s gate consists of horizontal and vertical bars that are spaced one unit apart, so the area of each hole between the bars is 1x1. The prisoner manages to remove certain bars to make some bigger holes. Determine the area of the largest hole in the gate after the bars are removed.

Example
N = 6 (the number of horizontal bars initially)
M = 6 (the number of vertical bars initially)
H = [4] (an array of integers, the horizontal bars to remove)
V = [2] (an array of integers, the vertical bars to remove)

The first image depicts the initial prison gate with n = 6 horizontal and m = 6 vertical bars. The area of the biggest hole in the bars is 1x1. The second image depicts the same gate after the prisoner removes horizontal bar 4 and vertical bar 2, at which point the area of the biggest hole in the bars becomes 2x2 = 4


Sample input 1:
N = 3
M = 3
H = [2]
V = [2]
Output: 4

Sample input 2:
N = 2
M = 2
H = [1]
V = [2]
Output: 4


Sample input 3: 
N = 3
M = 2
H = [1,2,3]
V = [1,2]
Output:?

Given the input, return the area of the biggest hole in the prison gate’s bars.

Problem approach

Step 1: I was able to come up with a Brute force approach (O(n*n)) but the interviewer wanted an optimal approach 
Step 2: I asked for a hint where the interviewer broke down the given sample input to get the output, which helped me to understand the logic behind this problem
Step 3: I found the maximum horizontal and vertical consecutive lengths and then returned the multiplier of these after adding 1 to each maximum value.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date13 Oct 2023
Coding problem1

1. System Design

Low-level design of a parking lot system.

Problem approach

Tip 1: Ask for the requirements
Tip 2: Ask for what is expected out of your solution in this one-hour
Tip 3: Ask the interviewer if he wants just the class diagram or if he wants you to give a runnable code.

03
Round
Medium
Video Call
Duration60 minutes
Interview date13 Oct 2023
Coding problem1

1. System Design

This was an HM round, where along with the behavioural skills, I was asked HLD of MMT.

Problem approach

Tip 1: Gather the requirements
Tip 2: Drive the interview, don't use any buzzwords if you don't have enough knowledge about them.
Tip 3: Read Alex Xu, this will help you with how to answer a design problem.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
Technical Associate
2 rounds | 3 problems
Interviewed by Salesforce
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Salesforce
1505 views
0 comments
0 upvotes
company logo
MTS 1
3 rounds | 4 problems
Interviewed by Salesforce
1995 views
0 comments
0 upvotes
company logo
MTS 1
3 rounds | 6 problems
Interviewed by Salesforce
1647 views
0 comments
0 upvotes