Salseforce MTS interview experience
- Experience
- 3 years
- Posted
- 21 May 2026
Summary
I went through Salesforce's MTS interview process, including an online assessment, a virtual technical interview, and three onsite technical rounds, and I was selected.
How it went
Applied through a referral. 3 YOE - working as a FE at a E-commerce company
Round 0 - Online Assessment: There were 2 DSA problems. I do not remember the exact questions.
Round 1 - Virtual Technical Interview: They asked me to implement LRU Cache and LFU Cache. I was able to solve both with working running solutions.
After that, I got shortlisted for onsite interviews. There were 3 rounds on the same day.
Round 2 - Onsite Technical: One question was based on the Sliding Window technique. The problem statement was long and story-based, but the final approach was sliding window. Then i was asked an LCA (Lowest Common Ancestor) problem.
Round 3 - Onsite Technical: Number of Islands Median in a Data Stream Trie - only logic and discussion, no coding implementationafter explaination we had more time left, then iw as asked some more followup question on trie, implement autosuggest using trie show only 3 reponse, time and space taken.
Round 4 - Hiring Manager Round: The discussion was mainly around my projects and the work I have done. They asked deep follow-up questions on my projects. They also asked: What I like about my current company Why I want to leave my current company What I know about Salesforce
Verdict: Selected.
Questions asked (6)
- 01
LRU Cache
Data Structures & Algorithms · Medium
Open the problemImplement an LRU (Least Recently Used) Cache supporting get and put operations with O(1) time complexity.
- 02
LFU Cache
Data Structures & Algorithms · Hard
Open the problemImplement an LFU (Least Frequently Used) Cache supporting get and put operations.
- 03
Lowest Common Ancestor of a Binary Tree
Data Structures & Algorithms · Medium
Open the problemGiven a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.
- 04
Number of Islands
Data Structures & Algorithms · Medium
Open the problemGiven a 2D grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically.
- 05
Find Median from Data Stream
Data Structures & Algorithms · Hard
Open the problemDesign a data structure that supports adding numbers from a data stream and finding the median of all elements added so far.
- 06
Trie Autosuggest
Data Structures & Algorithms
Design and implement an autosuggest feature using a Trie that returns the top 3 suggestions for a given prefix, including analysis of time and space complexity.