Salesforce DS & Algo Interview Round Questions
Salesforce hires for Member of Technical Staff i.e. MTS/SMTS/LMTS positions. MTS role is around 3 years experience. LLD rounds may be there for MTS role as well.
If you are looking for Salesforce Low Level Design Round Questions then You can find then here: https://codezym.com/lld/salesforce
Below are list of questions you can directly find on LeetCode (free ones):
Remove Stones to Minimize the Total
https://leetcode.com/problems/remove-stones-to-minimize-the-total/description/
Insert Delete GetRandom O(1)
https://leetcode.com/problems/insert-delete-getrandom-o1/description
Coin Change II
https://leetcode.com/problems/coin-change-ii/description/
Maximal Square
https://leetcode.com/problems/maximal-square/description/
Maximal Rectangle
https://leetcode.com/problems/maximal-rectangle/description/
Rotting Oranges
https://leetcode.com/problems/rotting-oranges/
Course Schedule II
https://leetcode.com/problems/course-schedule-ii/description/
Lowest Common Ancestor of a Binary Tree
https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/description/
Number of Islands
https://leetcode.com/problems/number-of-islands/description/
Find Median from Data Stream
https://leetcode.com/problems/find-median-from-data-stream/description/
Implement Trie Prefix Tree
https://leetcode.com/problems/implement-trie-prefix-tree/description/
String Compression
https://leetcode.com/problems/string-compression/description/
Time Needed to Rearrange a Binary String
https://leetcode.com/problems/time-needed-to-rearrange-a-binary-string/description/
Minimum Operations to Reduce an Integer to 0
https://leetcode.com/problems/minimum-operations-to-reduce-an-integer-to-0/description/
Top K Frequent Words
https://leetcode.com/problems/top-k-frequent-words/description/
Merge Intervals
https://leetcode.com/problems/merge-intervals/description/
Intersection of Two Linked Lists
https://leetcode.com/problems/intersection-of-two-linked-lists/description/
Partition Array Into Two Arrays to Minimize Sum Difference
https://leetcode.com/problems/partition-array-into-two-arrays-to-minimize-sum-difference/description/
Reorganize String
https://leetcode.com/problems/reorganize-string/description/
Combination Sum II
https://leetcode.com/problems/combination-sum-ii/description/
Remove All Adjacent Duplicates in String II
https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii/description/
First Missing Positive
https://leetcode.com/problems/first-missing-positive/description/
Unique Email Addresses
https://leetcode.com/problems/unique-email-addresses/description/
All O`one Data Structure
https://leetcode.com/problems/all-oone-data-structure/description/
Longest Substring Without Repeating Characters
https://leetcode.com/problems/longest-substring-without-repeating-characters/
Time Based Key-Value Store
https://leetcode.com/problems/time-based-key-value-store/
Pairs of Songs With Total Durations Divisible by 60
https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60/description/
Asteroid Collision
https://leetcode.com/problems/asteroid-collision/description/
Longest Substring of All Vowels in Order
https://leetcode.com/problems/longest-substring-of-all-vowels-in-order/description/
Zigzag Conversion
https://leetcode.com/problems/zigzag-conversion/description/
Letter Combinations of a Phone Number
https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/
Search in Rotated Sorted Array
https://leetcode.com/problems/search-in-rotated-sorted-array/description/
Path With Maximum Gold
https://leetcode.com/problems/path-with-maximum-gold/description/
House Robber II
https://leetcode.com/problems/house-robber-ii/description/
Basic Calculator II
https://leetcode.com/problems/basic-calculator-ii/description/
Below are more questions from interview rounds. These also include actual followups that were asked.
i
Below list is updated frequently. Reflects top Salesforce DS & Algo questions in last 6 months.
Medium
Medium
Prashant Priyadarshi
Founder, CodeZym
Founder, CodeZym