Software Engineer • Junior-Level
Software Engineer • Junior-Level
High QualityPractice Other Questions that Salesforce Asked
Continue with targeted prep from Salesforce's coding question bank.
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
Unlock Full Details
Create a free account to unlock this interview experience report.