Open In App

Salesforce Interview Experience for SDE Internship (On-Campus)

Last Updated : 06 Sep, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Little Background: I am a Pre-final year student from NIT and Salesforce visited my campus in pool hiring.

Online Assessment (90 mins – 3 coding questions )

  • 1 Hard DP question
  • 2 medium level questions

The questions were long and they had a lot of stories and it took time to read and understand the question. I solved 2 questions with all test cases passed and the third question with 2 test cases passed.

Online Interviews (3 Rounds)

  • 2 Technical – 45 mins
  • 1 Hiring Manager Round – 30 mins

Technical Round – 1st: The interviewer shared a Hackerrank Codepair link.

  • The First question was – Two Sum( https://leetcode.com/problems/two-sum/). This is a very easy question and I wrote the code and explained him simultaneously.
  • Second Question – This was also an easy question where an array was given and I had to find out the first occurrences of the elements (something similar). I gave him a brute force approach and then later optimized it using the unordered map. He was quite happy and it passed all the test cases.

OOPS, Questions (15 mins):

  • He asked me to explain encapsulation and abstraction with real-life examples.
  • Benefits of OOPS,
  • How do the map work and internal implementation of the map as I had used it in my coding question
  • I was also asked if I have used abstract class in my project but I didn’t use it.

Technical Round – 2nd:

  • First Question – Balanced Parenthesis(https://leetcode.com/problems/valid-parentheses/) ( the question had only one type of bracket)
     
input - (())(
output - false

I explained my solution and wrote the code.

  • Second Question – This was a debugging problem and required the approach of multilevel inheritance. I got confused for a bit but the interviewer gave me a hint and then i answered her questions correctly.
  • Third Question – Given an array check if all the occurrences in the array are unique or not. 
    Eg – 1 has a frequency of 1, 2 has a frequency of 2 and 3 has a frequency of 3. So return true
     
input - [1,2,2,3,3,3]
output - true
input - [1,1,2,2,3,3,3,3]
output- false

I gave her multiple approaches involving unordered maps, set ..and I wrote code for 2 solutions. Overall she was satisfied and asked me about the time and space complexities of each solution.

Hiring Manager Round – 30 mins: Questions I was asked were:

  • Introduce Yourself
  • Give a brief about your projects
  • Why Salesforce?
  • How were your previous two interviews?
  • Can you tell me a moment when you think you did something very innovative
  • I can see a lot of cp achievements on your resume..can you tell me about your cp journey
  • What are the values that you follow in your life?
  • How was lockdown for you..are you enjoying offline college
  • What do you want to become in the future?
  • What are your strengths and weakness?

I have been selected for 2 months (May-July 2023) internship and the result was announced on the same day.

Overall Review: Salesforce doesn’t focus on CP candidates and the questions asked in the interview are mostly easy. They focus a lot on their values so prepare for it well. A few of my friends were asked LLD as well. Moreover don’t get disheartened in this internship and placement season just keep preparing !!


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads