SWE intern
Interview Date
25-08-2024
Result
Selected
Difficulty
Easy
Rounds
02
Drive Type
On-Campus
Topics asked
Detailed experience
I interviewed for the Salesforce SWE Intern role through the campus recruitment process. The selection process consisted of a coding assessment followed by multiple technical and managerial rounds. The interviews focused heavily on DSA, OOP, CS fundamentals, and my projects. The first round was a HackerRank assessment containing coding problems and MCQs from DSA, OS, DBMS, and OOP. One of the coding questions involved finding the lexicographically next permutation of a string, while another was a hashing-based problem. I cleared the assessment and was shortlisted for interviews. In the first technical interview, I was asked to implement an **LRU Cache** and explain the data structures behind the implementation. The interviewer then asked a linked-list problem and several OOP questions, including the difference between an **abstract class and an interface**, runtime polymorphism, encapsulation, and inheritance. I was also asked to explain these concepts using real-world examples. The second technical round started with a DSA problem: given an array, I had to count decreasing subsequences of length three. I discussed a brute-force solution first and then optimized it. The interviewer also asked questions related to **computer networks and cryptography**, so I had to explain concepts beyond DSA. The final round included project discussion, followed by a coding problem involving merging two sorted arrays in O(1) extra space. I was also asked a puzzle involving finding an odd-weight ball using a minimum number of weighings. The interviewers were mainly interested in my problem-solving process and how clearly I communicated my approach. I was eventually selected for the Salesforce SWE Intern position.