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

SDE - 1

Salesforce
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I started my coding journey on youtube, where I first learned the data structure and Algorithm. Then, I started my preparation of Data Structure.
Application story
I applied through a referral from a senior.
Why selected/rejected for the role?
I was rejected because I could not give precise and optimized solutions to the questions asked.
Preparation
Duration: 4 Months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming,System Design, Link List and Graphs
Tip
Tip

Tip 1: Practice at least 250 Questions
Tip 2: Do at least two projects

Application process
Where: Other
Eligibility: Above 6 CGPA
Resume Tip
Resume tip

Tip 1: Have some projects on your resume.
Tip 2: Do not put false things on your resume.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date10 May 2022
Coding problem2

1. Number of Connected Computers.

Moderate
10m average time
90% success
0/80
Asked in companies
FacebookOracleMicrosoft

You have been given a grid ‘ARR’ of size ‘N' * M’. ‘ARR[i][j]’ is ‘1’ if the computer is present at position ‘(i,j)’ otherwise it is zero. A computer is said to be a connected computer if there is a computer in its row or column other than itself. Your task is to return the number of connected computers.

Example:

subsequence

Let’s say you have a grid [[1,0],[1,1]]. We can say the computer ‘ARR[0][0]’ is a connected computer because there is a computer in its column other than itself. We can say the computer ‘arr[1][0]’ is a connected computer because there is a computer in its row and column other than itself. We can say the computer ‘arr[1][1]’ is a connected computer because there is a computer in its row other than itself. Therefore the number of connected computers is 3.
Try solving now

2. Distance between two nodes of a Tree

Moderate
25m average time
60% success
0/80
Asked in companies
PhilipsSAP LabsPhonePe

Given a binary tree and the value of two nodes, find the distance between the given two nodes of the Binary Tree.

Distance between two nodes is defined as the minimum number of edges in the path from one node to another.

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date10 May 2022
Coding problem2

1. Strongly Connected Components (Tarjan’s Algorithm)

Hard
15m average time
85% success
0/120
Asked in companies
AppleMicrosoftAmazon

You are given an unweighted directed graph of 'V' vertices and 'E' edges. Your task is to print all the strongly connected components (SCCs) present in the graph.

Try solving now

2. OS Questions

This was mostly discussion with manager, we discussed about my projects that i had mentioned in resume, after that manager asked very basic OS questions like - 
1. What is a system call?(Learn)
2. What is kernel mode?(Learn)

Problem approach

Tip 1 : Don't lie in your resume
Tip 2 : You should be prepared about the projects that you have mentioned in your resume, they will ask technical questions about it
Tip 3 : prepare basic OS.

03
Round
Easy
Video Call
Duration45 minutes
Interview date10 May 2022
Coding problem1

1. System Design Question

Given n servers, we need to store blobs in those servers and we should make K replicas of each blob. I was supposed to discuss HLD of this, make LLD and also write some code for APIs (i wasn't asked to run the code though)

Problem approach

Tip 1 : You will be given a vague problem statement, you'll have to discuss with interviewer to make it more clear
Tip 2 : In each LLD/HLD question, there would be some part of it in which you will be more confident, try to focus on that and tell the interviewer your different approaches to build that particular component.
Tip 3 : There is not right answer to these type of questions, whatever choices you make, you should be able to justify and you should be fine

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Salesforce
1696 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 7 problems
Interviewed by Salesforce
3385 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Salesforce
1151 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3638 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115096 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58237 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35146 views
7 comments
0 upvotes