← All interview experiences
SalesforceSenior · Software Engineer · August 2026 · APAC

Salesforce Interview Process - Senior Software Engineer

By an anonymous memberPublished
0

A Salesforce recruiter reached out to me. The process was a HackerRank online assessment, then onsite interviews.

I prepared by practising DSA problems (arrays, strings, trees, graphs and BFS/DFS) and going over common problem-solving patterns.

Round 1: HackerRank assessment

An online coding assessment: programming problems to solve within a time limit.

Round 2: Onsite DSA

I was asked a grid-based shortest path problem. You're given an N × M grid containing:

  • S: starting position

  • P: destination

  • .: traversable cell

  • #: obstacle

Find the minimum number of moves from the start to the destination, moving up, down, left or right.

I solved it with BFS and returned the minimum number of moves. The follow-up was to return the actual path from the start to the destination, not just the distance. That means keeping each cell's parent during BFS and rebuilding the path from it.

I couldn't finish the follow-up in the time I had.

Outcome

Rejected.

Tips

  • Focus on DSA fundamentals, especially graph traversal (BFS and DFS), grid problems and shortest-path algorithms.

  • Practise solving problems under time pressure.

  • Pay attention to follow-ups. Even after you solve the main problem, they may ask you to extend it, for example from the shortest distance to the actual path.

  • Time management and clean, bug-free code are just as important in the onsite rounds.

Was this experience helpful?

Be the first to mark it helpful

No comments yet

Be the first to ask the author a question or share your own take.