9/27/23, 1:15 AM Salesforce - LeetCode
(/)
Salesforce
Problems Discuss
Notice
We've improved our algorithm that calculates company tags and their frequencies to be more
accurate and current.
This page updates weekly on Saturday.
You can filter the results by different time periods.
You have solved 1 / 119 problems.
Show problem tags Select time period: All time
# Title Acceptance Difficulty Frequency
1737 Change Minimum Characters to Satisfy One 35.7% Medium
of Three Conditions (/problems/change-
minimum-characters-to-satisfy-one-of-three-
conditions)
146 LRU Cache (/problems/lru-cache) 41.7% Medium
56 Merge Intervals (/problems/merge-intervals) 46.5% Medium
588 Design In-Memory File System 48.5% Hard
(/problems/design-in-memory-file-system)
423 Reconstruct Original Digits from English 51.1% Medium
(/problems/reconstruct-original-digits-from-
english)
460 LFU Cache (/problems/lfu-cache) 43.6% Hard
1659 Maximize Grid Happiness 39.3% Hard
(/problems/maximize-grid-happiness)
706 Design HashMap (/problems/design- 64.5% Easy
hashmap)
341 Flatten Nested List Iterator 62.1% Medium
(/problems/flatten-nested-list-iterator)
https://leetcode.com/company/salesforce/ 1/8
9/27/23, 1:15 AM Salesforce - LeetCode
(/) # Title Acceptance Difficulty Frequency
139 Word Break (/problems/word-break) 46.2% Medium
241 Different Ways to Add Parentheses 64.6% Medium
(/problems/different-ways-to-add-
parentheses)
179 Largest Number (/problems/largest-number) 35.2% Medium
243 Shortest Word Distance (/problems/shortest- 65.1% Easy
word-distance)
1326 Minimum Number of Taps to Open to Water a 51.6% Hard
Garden (/problems/minimum-number-of-
taps-to-open-to-water-a-garden)
691 Stickers to Spell Word (/problems/stickers-to- 46.5% Hard
spell-word)
895 Maximum Frequency Stack 66.5% Hard
(/problems/maximum-frequency-stack)
1283 Find the Smallest Divisor Given a Threshold 58.0% Medium
(/problems/find-the-smallest-divisor-given-a-
threshold)
1010 Pairs of Songs With Total Durations Divisible 52.7% Medium
by 60 (/problems/pairs-of-songs-with-total-
durations-divisible-by-60)
636 Exclusive Time of Functions 61.4% Medium
(/problems/exclusive-time-of-functions)
410 Split Array Largest Sum (/problems/split- 54.3% Hard
array-largest-sum)
200 Number of Islands (/problems/number-of- 57.8% Medium
islands)
829 Consecutive Numbers Sum 41.7% Hard
(/problems/consecutive-numbers-sum)
502 IPO (/problems/ipo) 49.6% Hard
273 Integer to English Words (/problems/integer- 30.2% Hard
to-english-words)
628 Maximum Product of Three Numbers 45.3% Easy
(/problems/maximum-product-of-three-
numbers)
127 Word Ladder (/problems/word-ladder) 38.0% Hard
https://leetcode.com/company/salesforce/ 2/8
9/27/23, 1:15 AM Salesforce - LeetCode
(/) # Title Acceptance Difficulty Frequency
696 Count Binary Substrings (/problems/count- 65.4% Easy
binary-substrings)
526 Beautiful Arrangement (/problems/beautiful- 64.3% Medium
arrangement)
1353 Maximum Number of Events That Can Be 32.2% Medium
Attended (/problems/maximum-number-of-
events-that-can-be-attended)
678 Valid Parenthesis String (/problems/valid- 34.4% Medium
parenthesis-string)
881 Boats to Save People (/problems/boats-to- 56.1% Medium
save-people)
887 Super Egg Drop (/problems/super-egg-drop) 27.4% Hard
697 Degree of an Array (/problems/degree-of-an- 56.1% Easy
array)
91 Decode Ways (/problems/decode-ways) 33.3% Medium
1481 Least Number of Unique Integers after K 55.9% Medium
Removals (/problems/least-number-of-
unique-integers-after-k-removals)
253 Meeting Rooms II (/problems/meeting- 50.8% Medium
rooms-ii)
1200 Minimum Absolute Difference 69.5% Easy
(/problems/minimum-absolute-difference)
354 Russian Doll Envelopes (/problems/russian- 37.4% Hard
doll-envelopes)
41 First Missing Positive (/problems/first- 37.1% Hard
missing-positive)
735 Asteroid Collision (/problems/asteroid- 45.3% Medium
collision)
441 Arranging Coins (/problems/arranging-coins) 46.4% Easy
297 Serialize and Deserialize Binary Tree 55.9% Hard
(/problems/serialize-and-deserialize-binary-
tree)
212 Word Search II (/problems/word-search-ii) 36.1% Hard
37 Sudoku Solver (/problems/sudoku-solver) 59.3% Hard
https://leetcode.com/company/salesforce/ 3/8
9/27/23, 1:15 AM Salesforce - LeetCode
(/) # Title Acceptance Difficulty Frequency
210 Course Schedule II (/problems/course- 49.3% Medium
schedule-ii)
221 Maximal Square (/problems/maximal-square) 45.7% Medium
236 Lowest Common Ancestor of a Binary Tree 60.3% Medium
(/problems/lowest-common-ancestor-of-a-
binary-tree)
20 Valid Parentheses (/problems/valid- 40.2% Easy
parentheses)
22 Generate Parentheses (/problems/generate- 73.4% Medium
parentheses)
394 Decode String (/problems/decode-string) 58.4% Medium
42 Trapping Rain Water (/problems/trapping- 59.9% Hard
rain-water)
23 Merge k Sorted Lists (/problems/merge-k- 50.9% Hard
sorted-lists)
173 Binary Search Tree Iterator (/problems/binary- 70.7% Medium
search-tree-iterator)
15 3Sum (/problems/3sum) 33.3% Medium
1 Two Sum (/problems/two-sum) 50.7% Easy
380 Insert Delete GetRandom O(1) 52.8% Medium
(/problems/insert-delete-getrandom-o1)
49 Group Anagrams (/problems/group- 67.0% Medium
anagrams)
239 Sliding Window Maximum 46.5% Hard
(/problems/sliding-window-maximum)
5 Longest Palindromic Substring 32.8% Medium
(/problems/longest-palindromic-substring)
1011 Capacity To Ship Packages Within D Days 68.4% Medium
(/problems/capacity-to-ship-packages-
within-d-days)
994 Rotting Oranges (/problems/rotting-oranges) 53.5% Medium
556 Next Greater Element III (/problems/next- 33.9% Medium
greater-element-iii)
215 Kth Largest Element in an Array 67.1% Medium
(/problems/kth-largest-element-in-an-array)
https://leetcode.com/company/salesforce/ 4/8
9/27/23, 1:15 AM Salesforce - LeetCode
(/) # Title Acceptance Difficulty Frequency
33 Search in Rotated Sorted Array 40.0% Medium
(/problems/search-in-rotated-sorted-array)
84 Largest Rectangle in Histogram 43.3% Hard
(/problems/largest-rectangle-in-histogram)
155 Min Stack (/problems/min-stack) 53.0% Medium
1834 Single-Threaded CPU (/problems/single- 45.6% Medium
threaded-cpu)
121 Best Time to Buy and Sell Stock 53.5% Easy
(/problems/best-time-to-buy-and-sell-stock)
98 Validate Binary Search Tree 32.3% Medium
(/problems/validate-binary-search-tree)
1209 Remove All Adjacent Duplicates in String II 56.7% Medium
(/problems/remove-all-adjacent-duplicates-
in-string-ii)
53 Maximum Subarray (/problems/maximum- 50.3% Medium
subarray)
55 Jump Game (/problems/jump-game) 38.6% Medium
103 Binary Tree Zigzag Level Order Traversal 57.9% Medium
(/problems/binary-tree-zigzag-level-order-
traversal)
283 Move Zeroes (/problems/move-zeroes) 61.4% Easy
46 Permutations (/problems/permutations) 77.2% Medium
207 Course Schedule (/problems/course- 46.2% Medium
schedule)
3 Longest Substring Without Repeating 34.0% Medium
Characters (/problems/longest-substring-
without-repeating-characters)
120 Triangle (/problems/triangle) 55.6% Medium
133 Clone Graph (/problems/clone-graph) 54.8% Medium
205 Isomorphic Strings (/problems/isomorphic- 43.5% Easy
strings)
99 Recover Binary Search Tree 52.0% Medium
(/problems/recover-binary-search-tree)
71 Simplify Path (/problems/simplify-path) 41.0% Medium
https://leetcode.com/company/salesforce/ 5/8
9/27/23, 1:15 AM Salesforce - LeetCode
(/) # Title Acceptance Difficulty Frequency
2035 Partition Array Into Two Arrays to Minimize 19.2% Hard
Sum Difference (/problems/partition-array-
into-two-arrays-to-minimize-sum-difference)
875 Koko Eating Bananas (/problems/koko- 49.9% Medium
eating-bananas)
141 Linked List Cycle (/problems/linked-list-cycle) 48.8% Easy
75 Sort Colors (/problems/sort-colors) 60.4% Medium
339 Nested List Weight Sum (/problems/nested- 82.5% Medium
list-weight-sum)
238 Product of Array Except Self 65.0% Medium
(/problems/product-of-array-except-self)
309 Best Time to Buy and Sell Stock with 57.3% Medium
Cooldown (/problems/best-time-to-buy-and-
sell-stock-with-cooldown)
114 Flatten Binary Tree to Linked List 63.2% Medium
(/problems/flatten-binary-tree-to-linked-list)
739 Daily Temperatures (/problems/daily- 65.9% Medium
temperatures)
733 Flood Fill (/problems/flood-fill) 63.0% Easy
122 Best Time to Buy and Sell Stock II 65.0% Medium
(/problems/best-time-to-buy-and-sell-stock-
ii)
316 Remove Duplicate Letters 48.4% Medium
(/problems/remove-duplicate-letters)
19 Remove Nth Node From End of List 42.6% Medium
(/problems/remove-nth-node-from-end-of-
list)
1047 Remove All Adjacent Duplicates In String 69.0% Easy
(/problems/remove-all-adjacent-duplicates-
in-string)
1539 Kth Missing Positive Number (/problems/kth- 59.0% Easy
missing-positive-number)
486 Predict the Winner (/problems/predict-the- 55.4% Medium
winner)
1046 Last Stone Weight (/problems/last-stone- 65.2% Easy
weight)
https://leetcode.com/company/salesforce/ 6/8
9/27/23, 1:15 AM Salesforce - LeetCode
(/) # Title Acceptance Difficulty Frequency
695 Max Area of Island (/problems/max-area-of- 71.9% Medium
island)
435 Non-overlapping Intervals (/problems/non- 52.2% Medium
overlapping-intervals)
63 Unique Paths II (/problems/unique-paths-ii) 41.0% Medium
268 Missing Number (/problems/missing-number) 63.9% Easy
45 Jump Game II (/problems/jump-game-ii) 40.1% Medium
1249 Minimum Remove to Make Valid Parentheses 66.2% Medium
(/problems/minimum-remove-to-make-valid-
parentheses)
199 Binary Tree Right Side View 62.2% Medium
(/problems/binary-tree-right-side-view)
44 Wildcard Matching (/problems/wildcard- 27.3% Hard
matching)
417 Pacific Atlantic Water Flow (/problems/pacific- 54.8% Medium
atlantic-water-flow)
1448 Count Good Nodes in Binary Tree 73.5% Medium
(/problems/count-good-nodes-in-binary-
tree)
74 Search a 2D Matrix (/problems/search-a-2d- 49.2% Medium
matrix)
14 Longest Common Prefix (/problems/longest- 41.6% Easy
common-prefix)
189 Rotate Array (/problems/rotate-array) 39.8% Medium
392 Is Subsequence (/problems/is-subsequence) 48.0% Easy
9 Palindrome Number (/problems/palindrome- 54.5% Easy
number)
1150 Check If a Number Is Majority Element in a 58.6% Easy
Sorted Array (/problems/check-if-a-number-
is-majority-element-in-a-sorted-array)
1051 Height Checker (/problems/height-checker) 76.0% Easy
1701 Average Waiting Time (/problems/average- 62.9% Medium
waiting-time)
https://leetcode.com/company/salesforce/ 7/8
9/27/23, 1:15 AM Salesforce - LeetCode
(/) # Title Acceptance Difficulty Frequency
2068 Check Whether Two Strings are Almost 63.5% Easy
Equivalent (/problems/check-whether-two-
strings-are-almost-equivalent)
2563 Count the Number of Fair Pairs 32.6% Medium
(/problems/count-the-number-of-fair-pairs)
Copyright © 2023 LeetCode
Help Center (/support) Jobs (/jobs) Bug Bounty (/bugbounty) Online Interview (/interview/) Students (/student)
Terms (/terms) Privacy Policy (/privacy)
United States (/region)
https://leetcode.com/company/salesforce/ 8/8