preloader
  • Home
  • Previous Questions

Contains previous problem statements given by various recruitors during their selection process.

1st Jan, 0001

Salesforce

IDQuestions
1Two Sum
3Longest Substring Without Repeating Characters
5Longest Palindromic Substring
9Palindrome Number
14Longest Common Prefix
153Sum
19Remove Nth Node From End of List
20Valid Parentheses
22Generate Parentheses
23Merge k Sorted Lists
33Search in Rotated Sorted Array
37Sudoku Solver
39Combination Sum
41First Missing Positive
42Trapping Rain Water
44Wildcard Matching
45Jump Game II
46Permutations
49Group Anagrams
53Maximum Subarray
55Jump Game
56Merge Intervals
63Unique Paths II
74Search a 2D Matrix
75Sort Colors
84Largest Rectangle in Histogram
91Decode Ways
98Validate Binary Search Tree
103Binary Tree Zigzag Level Order Traversal
105Construct Binary Tree from Preorder and Inorder Traversal
114Flatten Binary Tree to Linked List
115Distinct Subsequences
116Populating Next Right Pointers in Each Node
120Triangle
121Best Time to Buy and Sell Stock
122Best Time to Buy and Sell Stock II
124Binary Tree Maximum Path Sum
133Clone Graph
139Word Break
146LRU Cache
155Min Stack
169Majority Element
173Binary Search Tree Iterator
179Largest Number
189Rotate Array
199Binary Tree Right Side View
200Number of Islands
205Isomorphic Strings
207Course Schedule
210Course Schedule II
215Kth Largest Element in an Array
221Maximal Square
229Majority Element II
236Lowest Common Ancestor of a Binary Tree
238Product of Array Except Self
239Sliding Window Maximum
240Search a 2D Matrix II
241Different Ways to Add Parentheses
253Meeting Rooms II
261Graph Valid Tree
278First Bad Version
283Move Zeroes
297Serialize and Deserialize Binary Tree
316Remove Duplicate Letters
339Nested List Weight Sum
347Top K Frequent Elements
354Russian Doll Envelopes
378Kth Smallest Element in a Sorted Matrix
380Insert Delete GetRandom O(1)
392Is Subsequence
394Decode String
410Split Array Largest Sum
417Pacific Atlantic Water Flow
423Reconstruct Original Digits from English
435Non-overlapping Intervals
456132 Pattern
459Repeated Substring Pattern
460LFU Cache
486Predict the Winner
502IPO
526Beautiful Arrangement
557Reverse Words in a String III
588Design In-Memory File System
628Maximum Product of Three Numbers
691Stickers to Spell Word
695Max Area of Island
697Degree of an Array
735Asteroid Collision
739Daily Temperatures
808Number of Matching Subsequences
817Design HashMap
896Smallest Subtree with all the Deepest Nodes
907Koko Eating Bananas
917Boats to Save People
923Super Egg Drop
931Maximum Frequency Stack
1036Rotting Oranges
1055Pairs of Songs With Total Durations Divisible by 60
1056Capacity To Ship Packages Within D Days
1097Stream of Characters
1102Check If a Number Is Majority Element in a Sorted Array
1127Last Stone Weight
1128Remove All Adjacent Duplicates In String
1137Height Checker
1320Remove All Adjacent Duplicates in String II
1397Search Suggestions System
1451Minimum Number of Taps to Open to Water a Garden
1478Maximum Number of Events That Can Be Attended
1544Count Good Nodes in Binary Tree
1561Rearrange Words in a Sentence
1585The kth Factor of n
1778Maximize Grid Happiness
1803Average Waiting Time
1859Change Minimum Characters to Satisfy One of Three Conditions
1962Single-Threaded CPU
2144Maximum Difference Between Increasing Elements
2162Partition Array Into Two Arrays to Minimize Sum Difference
2177Check Whether Two Strings are Almost Equivalent
2699Count the Number of Fair Pairs
3113Beautiful Towers II
3114Beautiful Towers I
3215Matrix Similarity After Cyclic Shifts
3230Remove Adjacent Almost-Equal Characters