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’.
Q2) Given a String s, find the number of substrings when converted to integer gives you a prime number. Also given that all prime numbers generated should be less than 10^6.
Q3) Given a string S and a pattern k, you need to find the shortest length sub-sequence of S which contains all the character of pattern. And also the string is cyclic in which you can come back to the starting position when you have reached the end in cycling order.
You just need to find the pattern k in s+s(write s two times as repetition allowed for cyclic case). O(n) solution required using sliding windows algorithm.
Hey geek! It's time to become a success story instead of reading them. Check out our most renowned DSA Self Paced Course, now at a student-friendly price and become industry ready. And if you are looking for a more complete interview preparation resource, check out Complete Interview Preparation Course that will prepare you for the SDE role of your dreams!
Feeling prepared enough for your interview? Test your skills with our Test Series that will help you prepare for top companies like Amazon, Microsoft, TCS, Wipro, Google and many more!
Interview started with introductions.He the asked in detail about one of my projects, he asked about the database structure.
He asked one puzzle : https://www.mathsisfun.com/puzzles/breaking-up-a-chocolate-bar.html
He then told a situation, suppose you are working on a project and you want the design to be different than the one told by the seniors, because you think its better, but the seniors want it their way, how would you approach with your idea?
Then He asked if I had any questions for him.
We had to wait for the results and around 9 students got shortlisted for the next round.
Interview started with introductions.This was a longer round than the previous.She asked a lot of questions about OOP(polymorphism, inheritance, etc), DBMS, Operating system, scalability, projects in detail.She also asked a simple question about compound interest.She also asked what all data structure and algorithms I know.She then asked me a puzzle, given a cake you need to cut the cake in 8 parts, 3 cuts to cut the round cake into 8 equal pieces(you can google the answer).
I came out and was asked to go for the next round, where 6 students got selected for the next round.
This round was taken by a Senior Manager.
He asked me to tell him about myself.He asked about all the technologies I had used.He then asked me to explain one my projects in detail.
He also some easy logic questions which I don’t remember exactly.He asked what have I heard about salesforce and why want to join.
Out of 8 people, 6 people went up till the HR round. They declared the result and they selected 4 peoples among them and I was one of them.