Salesforce | Gurgaon Drive | 26th Nov

I recently got a call from the recruiter reached out from LinkedIn. I showed the interest.
YOE : 5+

Recruiter asked me to go through the OA test first.

The test was on hackerrank. Two questions were asked. The duration of the test was 60 mins.

  1. Find the kth factor of n - https://leetcode.com/problems/the-kth-factor-of-n/
  2. Suggest Search - https://leetcode.com/problems/search-suggestions-system/

I did both the questions in 20-25 mins with all test case passing.

Then I was invited to the onsite round for face to face interviews in Gurgaon on 26th Nov 2023.
They sent us an Uber voucher of ₹2000 which is limited for 1 day only.

Round 1 : DS/Algo
The interviewer asked two hard problems

  1. MAXPARTY - https://codeforces.com/problemset/problem/1610/C
  2. Count pairs - Given an array arr[] of length N and an integer K, the task is to count the number of pairs (i, j) such that i < j and arr[i] > K * arr[j]. Similar to count inversion - https://leetcode.com/problems/count-of-smaller-numbers-after-self/

I cracked the first question by identifynig that it can be solve with Binary Search and using greedy. The interviewer asked me to write the condition to check. I did that.
For the second question I told that it can be solved using merge sort. The interviewer asked me to write the logic how to count such pairs. Explained that.

Overall I felt that I could have done better by writng the code more confidently. Else I would rate myself average.

Round 2: LLD + DSA
Started with OOPs concept what are those. Abstraction vs Encapsulation. SOLID principles. Design patters being used etc.
Then we come into the DSA question which was

  1. Count the number of distinct contiguous substring that are palindrome.
  2. Max path sum in a binary tree. - https://leetcode.com/problems/binary-tree-maximum-path-sum/

TBH, I wasn't prepared at all for the LLD questions. I really didn't know it was a LLD round and I answered like I am discussing rather than being interviewed. I don't think that interviewer must have rated me higher than average in this.

For the first DSA question I asked lots of clarifying questions and then interviewer changes the questions idk why and asked the second question. I solved it quickly and then they asked a follow up on what if we want to return the path of the longest sum as well. We discussed the solution and interview ended here.

Again this round wasn't satisfactory, the HR sent many folks home by this time I thought I will be the next. But HR called me for the next round.

Round 3: HLD + Behavioural
General behavioural questions. I am not able to recall.
HLD - How would you make sure multi master system with high consistancy.

We discussed few solutions about it. I feel this round was more of discussion.
For me this round was good.

Round 4: HM
This round started with introduction. Then interviewer asked why Salesforce. For which I couldn't justify as I come from the MAANG.
Then the interviewer asked me about my projects I have done and other behavioral questions. And then whole discussion went on what is one of the impactful project you have done and how did you contributed in that?

After this round I was done for the day. They told me that they will reached out to me with the result after 1 week.
I feel I will not be able to make it. But I had good experience of giving face to face interview. This helped me to give the confidence that if I just brush up the concept more I can crack the senior level role interviews.

I will update once the result will be there.

[Edit 1] : Got a call after two days. That I have positive feedbacks. They asked for the current and existing numbers

[Edit 2] : 14/Dec/2023 - Still waiting for the recruiter to reach out on this. Tried contacitng them once but no positive response.

[Edit 3] : 24/Jan/2024 - Recruiter has ghosted and not came back.

Comments (8)