Salesforce Interview Experience for SWE Intern
Salesforce came to my College(Campus Pool 2021) in the month of July 2021 for SWE Internship at Futureforce
Round 1(Coding Round on HackerRank): Three questions were asked- Basic, Medium, and Medium-Hard Level
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!
- Some questions related to HashMaps, very easy
- Similar to this, but with a slight modification
- Question on trees, similar to this.
I was able to solve all 3, and hence went on to the interview, but those who solved even 2 were shortlisted. In total, around 16 were shortlisted and 11 sat for interviews.
Round 2(Technical Interview 1 – 30 Mins): Started off with basic introductions, interviewer asked me to tell about myself, my college life, my hobbies, etc. He asked me to explain my logic for one of the questions asked in the Hackerrank round. He then asked me 3-4 coding questions.
- Given a string of HTML tags, find if the given tags are in the right order. (Similar to matching parenthesis, use stacks.)
- Find median in a stream of integers- Good question, but pretty standard. I told him 2 approaches, one brute force, and then optimized it using heaps.
- Question on optimal data structure to be used in some games. Don’t remember it exactly, but it used a self-balancing BST or a heap.
- A question on SQL foreign keys.
- As most of my CV had Machine Learning projects, he asked me many questions from that domain. I was able to answer all of them.
After this, around 7 people made it to round 3, including me.
Round 3(Technical Interview 2 – 45 Mins): This Interviewer didn’t ask me to write code, and only asked me to give my approach. He asked me about the subjects I had studied and which course was my favorite. He followed that with some technical questions on ML( Due to my CV) and then some coding questions.
- Find a number in a sorted infinitely long array. (Used something like binary lifting, he was fine with it)
- Asked me a question about graph traversals, DFS, and BFS and which data structures do they use, etc.
- Asked about the time complexity of certain searching algorithms. Best and Worst time complexity was expected.
He then told me to relax, and asked me about my preferences, what did I expect out of salesforce, etc. He asked me if I had any questions for him. I asked him about the work he did at Salesforce and what keeps him motivated.
After this. 6 people made it to round 4, including me.
Round 4(HR/Technical Interview – 60 Mins): This was by far the most relaxed round. The interviewer asked me about my family, what sports I played, extra-curricular activities, etc.
- He asked me some questions to get to know about my personality and asked me a puzzle. It was similar to the minimum number of weighings it takes to find the odd ball in a set of 8 balls but instead asked me to generalize it for N balls. I was able to come up with a solution after a hint.
- He then asked me to design a system for a taxi app, similar to that of Uber. I told him I didn’t know much about system design, and I told him that I could come up with some backbone. He said it was okay and asked me to proceed. I told him about the types of data structures I’d use and types of algorithms. he pointed out flaws and asked me to correct them. He asked me about the traveling salesman problem, and what approaches are used to solve it(Only the idea, not any implementation).
- He then asked me if I had any questions for him, and I asked him a few. He replied with enthusiasm, and I was quite confident I’d make it through.
After a few hours of waiting, the final shortlist came out. They selected 3 students, and I was one of them.
The interview experience was very smooth and the people from the salesforce were pretty chill.