Salesforce Interview Experience
Summary
I had a hiring drive interview at Salesforce on July 26th, 2025. The interview included project discussions and three DSA questions: finding the max subtree sum, max square size in a binary matrix, and max rectangle size in a binary matrix. I was rejected, and I believe it was because I couldn't fully code the third problem within the given time.
Full Experience
Hiring drive interview - 26th July 2025
Yoe - 6
Past experience: PBC
Round1:
Asked about the project details. 1 API Schema
Then 3 DSA Questions:
1. Find max Subtree sum in a binary tree.
2. Find Max Square size in Binary matrix
3. Find Max rectangle size in binary matrix.
Questions has to be solved on whiteboard.
I was to solve 1st question completely. Struggled a bit on Time and Space complexity.
For 2nd Question, I was able to provide the intuition and the approach to solve the problem. Interviewer seems satistisfied with the appraoch. So they moved to 3rd Question.
For 3rd Question, I was able to somehow come up with the approach. And explained the same, the intuition and thought process behind it. But the time was over so could write the code for it.
Verdict: Rejected
Self Analysis: I think they were expecting me to write the code for the 3rd problem as well within in the given time. Overall it was a good experience. And i think expectations are lot now a days. 1 Medium + 2 Hard Questions + Project discussion in 1 hour is a lot.
Interview Questions (3)
Find max Subtree sum in a binary tree.
Find Max Square size in Binary matrix.
Find Max rectangle size in binary matrix.