Open In App

SalesForce Interview Experience for On-Campus Internship 2021

Last Updated : 18 Sep, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

Salesforce visited our campus (MNIT Jaipur) in the first week of September 2020 offering a 2 months summer internship which will take place in May and June 2021. 

Coding Round (75 minutes) HackerRank:

  • Given an array of integers, replace every number with the nearest right number whose frequency is greater than it in the array, if no such number exists replace it with -1. Next Greater Frequency element
  • Find the size of the largest island in a 2-D matrix. It is similar to the below question with a little variation. Find the number of islands
  • This question began with the explanation of the definition of tensors(there’s no problem if you don’t know about tensors at all) and they gave two 3-D matrices as input both with dimensions N x N x N and asked to multiply the top 2 axes of A with bottom 2 axes of B and output them in the form of N x N 2-D matrix.
    E.g: Let there be two 3-D matrices of dimension 2 x 2 x 2. 
     
A={  { {1,2},{3,4} },  { {1,2},{3,4} }  }
B= { { {1,2},{3,4} },  { {1,2},{3,4} }  }
Then the top two axes and bottom 2 axes of 
A and B can be represented in the form of 2-D 
matrices A' and B' as 
A'={{1,2,3,4} , {1,2,3,4}}  
B'={{1,2},{3,4},{1,2},{3,4}} 
now multiplying these two matrix will give 
output as 
Answer: {{22,32},{22,32}}

I was able to solve all the questions in 35 minutes which worked as a plus point for me in the interviews. 
Out of around 100 students, 14 were shortlisted for the next round. 

All the rounds from here onwards were held on Google Meet and Codepair and there was a single interviewer in each round. 

Technical Interview 1 (45 minutes): 

  1. Find next greater number with the same set of digits.
    First I gave him an O(n*log(n)) approach using merge sort then he asked me to optimize it to O(n), so I used counting sort instead of merge sort then he asked me about radix sort and it’s time complexity.
  2. Rearrange characters in a string such that no two adjacents are the same.
    The interviewer was really helpful, and he gave some hints which I caught and gave him the correct answer.

After this round 10 out of 14 students got selected for the next round. 

Technical Interview 2 (50 minutes):First, the interviewer made me comfortable by asking about the previous interview round and the coding round, and he also looked at my time and my solution in the coding round. 

  1. He began with OOPS and asked me how can I use the concept of OOPS in my college to maintain interdependencies between different branches in my college therefore I explained him some methods with the help of the use of inheritance and friend function then I explained him about that in detail, and he looked quite satisfied.
  2. He asked me to write an algorithm to remove all the transitive relations from a hashmap where the key was a string and the mapped value is an array of strings. 
    E.g: Let the map key-value pairs be like this.
A->B,C,D,E 
B->F,G 
G->H 
S->T 
So the final content after removal of all the transitive 
relations in the hashmap will be: 
A->B,F,G,C,H,D,E 
S->T 
I used recursive DFS to solve this and he was satisfied 
with my answer.
  1. He asked me to write an algorithm for evaluating mathematical expressions given in the form of a string consisting of basic arithmetic operators +, -, *, and /. 
    I gave him an algorithm using parse tree and leftmost derivation then he asked me to expand my algorithm for special functions like log, sqrt, and pow so I expanded it using a hashmap to store the special keywords, he was satisfied by my approach.
  2. He asked me to implement a cache of a given size.

The interviewer was really helpful and asked me to relax whenever he felt I was getting nervous. 
After this round 5 out of 10 students were selected for the next round. 

HR Interview (45 minutes): The interviewer began by asking me about my day today and about all the subjects I have studied in my college and which were my favorites. 
He then asked me about what do I expect from the company for myself, and he also talked about my role in the previous college club I was part of. After that, he asked about my projects, I explained the project and the technologies used in detail for about 10 minutes. Then he asked me some questions on OOPS about Function overloading, Function overriding, Function Hiding, Virtual functions, and Inheritance in detail. 
 

After that, he asked me about the use of pointers in C and C++. He also asked me about the data structures I have worked with and then asked me to implement a stack using queue. Then he gave me a situation that if I am the head of a team, and we have a deadline to complete a task and one of my team members will have to leave due to some problem, then how will I handle this situation. After this, he asked me if I have any questions to ask, so I asked him a couple of questions about my role in the company and the technologies I will work on if I get selected as an intern. 

After this round, 3 students were selected and given an offer of internship and luckily, I was one of them.


Previous Article
Next Article

Similar Reads

Salesforce Interview Experience for Internship -2021 (On-Campus)
Round-1(75 min): Question on Binary Search(minimizing the window length in a string type, similar questions available on practice. gfg).Given an array of length N holding sizes of (S, M, L, XL) return the maximum number of beads that can be placed in 2 containers with the following conditions : Each container can have more than one bead of the same
6 min read
Salesforce Internship Interview Experience | On Campus 2021
Salesforce came to our campus to hire interns. The questions asked in each round were as follows. Coding Round - This round had 3 questions to be done in 90 minutes. An n*m grid of bulbs was given. Some were on (denoted by 'O') and some were off (denoted by 'X'). When you toggle the state of a bulb, the state of the bulbs adjacent to it gets toggle
6 min read
Salesforce Interview Experience for SDE Internship 2021
Salesforce came to my college in august 2021 for an SDE intern, the criteria were 7+ GPA and no backlog and any branch. The test started with an online coding test consisting 3 Questions to be solved in 90 mins on hackerrank. the questions were easy/moderate, 1 Question involved the concept of CIDR (networking) which most of were not aware of so mo
4 min read
Salesforce Interview Experience for SDE Internship 2021
Round 1: Salesforce came to my college in the second week of August for an SDE role. The eligibility was 7+ CGPA, with no backlogs for the Computer Science students. The first round was an online coding round conducted on Hackerrank. It comprised of 3 coding questions, based on DSA, to be solved in 90 mins. The first question was deleting a minimum
6 min read
Salesforce Interview Experience | On-Campus 2021
Coding Round: The online test was on HackerRank. There were 3 questions. You have to prepare a pizza. There are some crusts and toppings given. The price of each crust and each topping is given. To make one pizza you can use exactly one crust and a topping can be used at most 3 times. A target price is given. You have to return a combination of cru
8 min read
Salesforce Interview Experience | On-Campus for Internship 2020
Salesforce is one of the best companies where you can intern and spend your summer. It's worth joining salesforce for an internship. They have many benefits for the employees such as: 1) Wellness benefits, Eye and Dental care. 2) Wellness Reimbursement Vision/Dental Reimbursement, Free food, Snacks, and the Coffee shop. 3) Flexible Hours and Work F
6 min read
Salesforce Interview Experience | On-Campus for Internship 2020
Salesforce recently visited our campus for internship recruitment. Here's my interview experience: Online Coding Round: Coding round consisted of 3 question which were of each with increasing difficulty. Q1) Given an array of integers, and a number ‘sum’, find the number of pairs of integers in the array whose sum is equal to ‘sum’. solution:link Q
3 min read
Salesforce Interview Experience for SDE Internship (On-Campus)
This article is about my Internship Interview experience with Salesforce's Campus Recruitment Program (Futureforce) at IIT (ISM) Dhanbad. The process took place in the first week of September in total virtual mode. Round 1:Online Coding Round Platform: HackerrankDuration: 1 hour 15 min.No. Of Questions: 3 Questions are as follows: Given a string of
7 min read
Salesforce Interview Experience for Internship (On-Campus 2020)
Online Test: There were 3 coding questions to be answered in 75mins Give an array you have to sum up the values of the array and call the sum as q. You have to evaluate the following: ∑qi=1 ∑qj=i F(i,j) Where F(i,j)=sum of divisors of i and j. Simple, brute force solution was expected Given an array find the number of index triplets (i,j,k) such th
2 min read
Bajaj Finserv Health Interview Experience for Salesforce Developer(Java) Internship+FTE (On-Campus)
Round-1 (API-based question ) The first round was an API-based round which was fairly straightforward.They provided us with a post API wherein we had to post the details of our name, registration number, and email address.We just had to create an object which contained all the details and post it to their API.This round consisted of 2 parts, in the
3 min read