SalesForce MTS | Got Rejected | HYD | BLR

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-11-11Added By Anonymous
Source: Link

Company: Salesforce
Role: MTS
Interview Stage: Onsite
Location: Hyderabad, Bangalore
Year: unknown

Original Post Content:

Recruiter reached out on LinkedIn and explained there would be 3 rounds. Out of which, the last one must be given in person in any location. Every round is an elimination round.

Offer Quoted:

Company: Salesforce
Role: MTS
YoE: 3 years 3 months
Base: 30LPA
RSU: 50k for 4 years Equal Vesting

Round 1: DSA
Q1: Validate an IPv4 Address.
Expectation: Production-ready code with all corner cases to be handled, like +01 parsing would be a valid parsing but an invalid number, and IP address with 0's, etc.
Q2: Given 3 functions, design an optimized data structure which runs all these functions optimally:

  • addScore(String id, int score) - can add a new player and score ID.
  • updateScore(String id, int newScore) - if player exists, update score to new score, else add his score.
  • int getTopKScoreSum(int k) - get Sum of Scores of top K Players.

Round 2: Initially, I was told it would be an LLD round but just minutes before the interview, the recruiter told me it would be an Advanced DSA round.

3 interviewers joined one after another.

Given a number n, you need to return how many BST's can be formed from numbers from 1 to n with each number as a node in BST.

As soon as I heard this, I remembered there is some mathematical formula and told the same, and tried deriving the formula but no luck. So I thought to write code and count manually and then wrote a backtracking code with maintaining a visited set, passing ranges to child nodes to construct each valid BST, but test cases were failing and I was getting a lesser count. I added debugs to see why it fails and ended up realizing that via backtracking we can't generate all valid BST's.

After that round, I didn't hear back again from the recruiter and received a rejection email after a week.

Google Interview experience:
https://leetcode.com/discuss/post/7240829/google-l4-bangalore-2025-by-anonymous_us-vo8z/

Walmart Experience:
https://leetcode.com/discuss/post/7342438/walmart-swe3-bangalore-august-selected-b-83sb/

Comments