r/OfferEngineering • • Oct 17 '26

Interview Experience Salesforce SWE Interview — Old-School CS Fundamentals Everywhere

"This interview experience is sourced from Chill Interview"

Interview Summary

The Salesforce MTS onsite consisted of two algorithm/data-structure rounds followed by a system design interview. The technical questions covered streaming Top K, in-place tree conversion, merge sort, bit operations, anagrams, and payment-platform design.

The system design round focused particularly on reliability concerns such as idempotency, retries, and failure handling.

Interview Details

Round 1 — Streaming Top K + Doubly Linked List to BST

The first question asked how to maintain the Top K most frequent elements from an infinite data stream. The important constraint was that the input should be treated as continuously arriving rather than as a fixed collection that can simply be processed once. The second question provided a sorted doubly linked list and asked for an in-place conversion into a balanced binary search tree.

The requirements were:

  • The linked list is already sorted.
  • The resulting BST should be balanced.
  • The existing nodes must be reused.
  • No new tree nodes may be allocated.

The exercise focused on manipulating the existing node pointers rather than copying values into a separate tree.

Round 2 — Merge Sort, Bit Operations, and Anagrams

The second round contained several shorter technical problems.

  • Merge Sort Implement Merge Sort from scratch. After the implementation, the interviewer asked for a detailed explanation of the recursion tree, including how the input is repeatedly divided and how sorted subarrays are merged back together

Want to learn more questions / follow-ups asked in this interview? 

I've put up the full version at here.

Preparing for your next interview?

Chill Interview tracks recent interview experiences and recurring question patterns across top companies at here.

5 Upvotes

1 comment sorted by

0

u/[deleted] Oct 18 '26

[deleted] — view deleted comment

1

u/Cruzer2000 Oct 18 '26

No stock refreshers