Salesforce · DSA
Every coding problem Salesforce has asked, most frequent first. Tick them off as you go; your ticks stay in this browser.
- mostly asked
- 50
- hard
- 11
- done
- 0
50 of 50 problems
- 1Minimum Operations to Reduce an Integer to 0 (opens LeetCode in a new tab)Dynamic Programming, Greedy, Bit Manipulation · at 7 companiesMediumFrequency 100
- 2String Compression (opens LeetCode in a new tab)Two Pointers, String · at 18 companiesMediumFrequency 88
- 3LFU Cache (opens LeetCode in a new tab)Hash Table, Linked List, Design · at 16 companiesHardFrequency 80
- 4Time Needed to Rearrange a Binary String (opens LeetCode in a new tab)String, Dynamic Programming, Simulation · at 3 companiesMediumFrequency 79
- 5Closest Equal Element Queries (opens LeetCode in a new tab)Array, Hash Table, Binary Search · at 5 companiesMediumFrequency 75
- 6Smallest Substring With Identical Characters I (opens LeetCode in a new tab)Array, Binary Search, Enumeration · at 2 companiesHardFrequency 71
- 7Smallest Substring With Identical Characters II (opens LeetCode in a new tab)String, Binary Search · at 2 companiesHardFrequency 71
- 8Maximum Product of Three Numbers (opens LeetCode in a new tab)Array, Math, Sorting · at 9 companiesEasyFrequency 67
- 9Subarray Product Less Than K (opens LeetCode in a new tab)Array, Binary Search, Sliding Window · at 14 companiesMediumFrequency 66
- 10Maximum Palindromes After Operations (opens LeetCode in a new tab)Array, Hash Table, String · at 4 companiesMediumFrequency 66
- 11LRU Cache (opens LeetCode in a new tab)Hash Table, Linked List, Design · at 30 companiesMediumFrequency 64
- 12Remove Adjacent Almost-Equal Characters (opens LeetCode in a new tab)String, Dynamic Programming, Greedy · at 1 companyMediumFrequency 64
- 13Maximum Number of Occurrences of a Substring (opens LeetCode in a new tab)Hash Table, String, Sliding Window · at 6 companiesMediumFrequency 64
- 14Power Grid Maintenance (opens LeetCode in a new tab)Array, Hash Table, Depth-First Search · at 6 companiesMediumFrequency 64
- 15Course Schedule II (opens LeetCode in a new tab)Depth-First Search, Breadth-First Search, Graph Theory · at 18 companiesMediumFrequency 63
- 16Distinct Subsequences (opens LeetCode in a new tab)String, Dynamic Programming · at 7 companiesHardFrequency 61
- 17Minimize Maximum Component Cost (opens LeetCode in a new tab)Binary Search, Union-Find, Graph Theory · at 4 companiesMediumFrequency 61
- 18Merge Intervals (opens LeetCode in a new tab)Array, Sorting, Quicksort · at 34 companiesMediumFrequency 59
- 19Split a String in Balanced Strings (opens LeetCode in a new tab)String, Greedy, Counting · at 5 companiesEasyFrequency 59
- 20Minimum Time to Visit All Houses (opens LeetCode in a new tab)Array, Prefix Sum · at 1 companyMediumFrequency 59
- 21Longest Substring Without Repeating Characters (opens LeetCode in a new tab)Hash Table, String, Sliding Window · at 35 companiesMediumFrequency 57
- 22Group Anagrams (opens LeetCode in a new tab)Array, Hash Table, String · at 27 companiesMediumFrequency 57
- 23Number of Islands (opens LeetCode in a new tab)Array, Depth-First Search, Breadth-First Search · at 27 companiesMediumFrequency 57
- 24Count the Number of Fair Pairs (opens LeetCode in a new tab)Array, Two Pointers, Binary Search · at 6 companiesMediumFrequency 57
- 25Maximum Frequency Stack (opens LeetCode in a new tab)Hash Table, Stack, Design · at 9 companiesHardFrequency 57
- Showing 25 of 50
Mostly asked is the top quarter of the company’s list by how often a problem is reported. We don’t refresh this data often enough to show the last 30 days or 6 months. Frequency is relative within one company: 100 is its most asked problem. At N companies counts the companies in DSA Atlas that ask the problem; use Also asked at to cut a long list down to the problems many companies share. Your ticks are saved in this browser only.
Credits
These lists are the work of two open GitHub projects. Thank you to their authors.
- liquidslr/leetcode-company-wise-problems: the problem lists for each company (titles, difficulty, frequency, topics, LeetCode links).
- nishant-Tiwari24/company-wise-dsa: the focus tip and important topics shown on each company card.
Problem text stays on LeetCode; we link to it. Frequencies are relative within a company.
Last synced