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

SDE - 1

Salesforce
upvote
share-icon
4 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 9 Months
Topics: DBMS, Data Structures and Algorithms , OOP, Maths puzzles, Aptitude , CN, OS
Tip
Tip

Tip 1 : Never leave any topic from any chapter / Subject
Tip 2 : Learn to explain your thoughts well
Tip 3 : Learn from previous experiences / interviews / problems asked.
Tip 4 : Atleast 4 projects in Resume

Application process
Where: Campus
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Atleast 4 projects on Resume
Tip 2 : Do not write false things. You always get caught. Be genuine.

Interview rounds

01
Round
Hard
Online Coding Interview
Duration75 Minutes
Interview date11 Feb 2021
Coding problem2

Online Round - 2 questions. 
75 minutes

1. Construct the Lexicographically Largest Valid Sequence

Moderate
35m average time
65% success
0/80
Asked in companies
MicrosoftSalesforce

You are given a positive integer N. Your task is to create the lexicographically largest sequence of length 2*N - 1 containing integers between 1 to N such that:

1. 1 occurs in the sequence exactly once.
2. Each integer between 2 to N(inclusive) occurs in the sequence exactly twice.
3. For each integer i between 2 to N, the distance between the two occurrences of i should be exactly i.

Note:

1. A sequence A is lexicographically larger than a sequence B (of the same length), if in the first position where A and B differ, sequence A has a number greater than the corresponding number in B.
2. It is guaranteed that under the given constraints, there is always a solution. 
Try solving now

2. Zuma Game

Moderate
20m average time
80% success
0/80
Asked in companies
AmazonSalesforce

You have several balls on the table in the form of a string named 'BOARD'. The colors of the balls can be red(R), blue(B), green(G), white(W), and yellow(Y). You also have several balls in your hand in the form of a string named 'hand'. Each time, you can do the following operations:

1. Choose a ball from the string 'HAND', and insert it anywhere on the string 'BOARD'.

2. If there is a group of strictly more than 2 balls of the same color touching each other, remove them from the string 'BOARD'. Keep doing this until the string 'board' becomes empty or no more balls can satisfy this condition.

Your task is to find the minimum number of insertions required to make the 'BOARD' empty. If it is not possible to make the string 'BOARD' empty, then print -1.

Note:

1) Both strings will be non-empty and will only contain the characters ‘R’, ‘B’, ‘G’, ‘W’, and ‘Y’.

2) Initially, the string 'BOARD' won’t have more than 2 balls of the same colors touching each other.
Try solving now
02
Round
Hard
Video Call
Duration40 Minutes
Interview date24 Feb 2021
Coding problem2

1 Coding problem and 1 OOP problem

1. Ninja and Chocolates

Moderate
20m average time
80% success
0/80
Asked in companies
FacebookSalesforceD.E.Shaw

Ninja is hungry and wants to eat his favorite chocolates but his mother won’t let him eat since he has already eaten enough chocolates. There are ‘N’ jars filled with chocolates. His mother has gone to the market and will home come after ‘M’ minutes. The ninja can eat up to ‘X’ chocolates per minute. Every minute when his mother is not there, he chooses any jar and takes out ‘X’ chocolates from that jar, and eats them. If any jar has less than ‘X’ chocolates, then he eats all of the chocolates in that jar but won’t eat any more chocolates during this minute. Your task is to print ‘X’ the minimum chocolate-eating speed of Ninja such that he eats all the chocolates within ‘M’ minutes before his mother comes back.

Try solving now

2. OOP Question

Virtual function and abstract class

03
Round
Hard
Video Call
Duration40 minutes
Interview date24 Feb 2021
Coding problem2

Resume based problems, OOPs, DBMS, OS problems

1. OS Questions

Virtual memory ? Usage , example4

Threads, Processes , differences.

2. System Design Question

Design linkedin kind platform

04
Round
Hard
HR Round
Duration15 Minutes
Interview date24 Feb 2021
Coding problem1

Typical HR interview round. Short and crisp

1. Basic HR Questions

Are you reliable? or Can I trust you with responsibilities? 

What are the three things that are most important for you in a job? 

What was the toughest decision you ever had to make?

Problem approach

Tip 1 : Be quick and direct.

Here's your problem of the day

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

Skill covered: Programming

Which operator is used for exponentiation in Python?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 7 problems
Interviewed by Salesforce
2807 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Salesforce
974 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Salesforce
842 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
988 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
107483 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
51829 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
32108 views
6 comments
0 upvotes