Salesforce SMTS Interview

Anonymous User
2141
Oct 30, 2025

Round 1 experience

Interviewer jumped straight to the questions after 1 minute intro.
Then Hackerrank link was shared.
Was given 2 questions -

  1. Same as https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii/description/
    Was able to come up with a brute force approach initially but after around 10-15 mins, I could think of the stack based approach. However, since already almost 30 minutes were up, interviewer moved on to the next question.

  2. Same as https://leetcode.com/problems/binary-tree-maximum-path-sum/description/
    Question was same but inputs were horrible, I was given List parent, List values, through which I had to first create the whole tree by myself or figure out the approach using this input only. I was able to come up with the approach, but had the nightmare of creating the tree from scratch in the limited time.

image.png

In the end, wasn't able to solve either problems, but only able to talk about the approaches.

Comments (7)