grindmapcompany-wise LeetCode
All companies

Walmart Labs LeetCode Questions

144 questions all-time · 22 easy · 96 medium · 26 hard
# Problem Difficulty Frequency Acceptance
1Longest Substring Without Repeating Characters
Medium
100
0.4%
2Number of Islands
Medium
100
0.6%
3LRU Cache
Medium
98
0.5%
4Valid Parentheses
Easy
97
0.4%
5Two Sum
Easy
93
0.6%
6Generate Parentheses
Medium
91
0.8%
7Trapping Rain Water
Hard
91
0.7%
8Search in Rotated Sorted Array
Medium
88
0.5%
9Merge Intervals
Medium
88
0.5%
10Divide Intervals Into Minimum Number of Groups
Medium
88
0.6%
11Middle of the Linked List
Easy
88
0.8%
12Number of Ways to Separate Numbers
Hard
86
0.2%
13The Winner University
Easy
86
0.8%
14Count Good Triplets in an Array
Hard
86
0.7%
15Minimum Number of Operations to Make Arrays Similar
Hard
86
0.6%
16Minimum Operations to Make Array Equal II
Medium
86
0.3%
17Maximum Number of Tasks You Can Assign
Hard
86
0.5%
18Count Elements With Maximum Frequency
Easy
86
0.8%
19Maximum Length Substring With Two Occurrences
Easy
86
0.7%
20Circular Permutation in Binary Representation
Medium
86
0.7%
21Find the N-th Value After K Seconds
Medium
86
0.5%
22XOR Operation in an Array
Easy
86
0.9%
23Group Anagrams
Medium
83
0.7%
24Word Break
Medium
83
0.5%
25Maximum Distance Between Unequal Words in Array I
Easy
80
0.8%
26Best Time to Buy and Sell Stock
Easy
76
0.6%
27Coin Change
Medium
76
0.5%
28Longest Palindromic Substring
Medium
72
0.4%
29Container With Most Water
Medium
72
0.6%
30Combination Sum
Medium
72
0.8%
31Sort Colors
Medium
72
0.7%
32Longest Consecutive Sequence
Medium
72
0.5%
33Max Stack
Hard
72
0.5%
34Longest Increasing Subsequence
Medium
72
0.6%
35Advantage Shuffle
Medium
72
0.5%
36Median of Two Sorted Arrays
Hard
67
0.5%
373Sum
Medium
67
0.4%
38Spiral Matrix
Medium
67
0.6%
39Binary Tree Zigzag Level Order Traversal
Medium
67
0.6%
40Kth Largest Element in an Array
Medium
67
0.7%
41First Unique Character in a String
Easy
67
0.7%
42LFU Cache
Hard
67
0.5%
43Zigzag Conversion
Medium
67
0.5%
44Find Median from Data Stream
Hard
67
0.5%
45Sort the Matrix Diagonally
Medium
67
0.8%
46Longest Common Prefix
Easy
61
0.5%
47Merge k Sorted Lists
Hard
61
0.6%
48Reverse Nodes in k-Group
Hard
61
0.7%
49Valid Sudoku
Medium
61
0.6%
50Maximum Subarray
Medium
61
0.5%
51Add Binary
Easy
61
0.6%
52Binary Tree Right Side View
Medium
61
0.7%
53Course Schedule
Medium
61
0.5%
54Move Zeroes
Easy
61
0.6%
55Top K Frequent Elements
Medium
61
0.7%
56Subarray Sum Equals K
Medium
61
0.5%
57Subsets II
Medium
61
0.6%
58Maximum Sum of Distinct Subarrays With Length K
Medium
61
0.4%
59Trapping Rain Water II
Hard
61
0.6%
60Integer to Roman
Medium
61
0.7%
61Palindromic Substrings
Medium
61
0.7%
62Design Hit Counter
Medium
61
0.7%
63Rotting Oranges
Medium
61
0.6%
64Diagonal Traverse
Medium
61
0.7%
65Construct Binary Tree from Inorder and Postorder Traversal
Medium
61
0.7%
66Permutation in String
Medium
61
0.5%
67First Missing Positive
Hard
54
0.4%
68Search a 2D Matrix
Medium
54
0.5%
69Minimum Window Substring
Hard
54
0.5%
70Largest Rectangle in Histogram
Hard
54
0.5%
71Decode Ways
Medium
54
0.4%
72Min Stack
Medium
54
0.6%
73Rotate Array
Medium
54
0.5%
74House Robber
Medium
54
0.5%
75Course Schedule II
Medium
54
0.6%
76Wildcard Matching
Hard
54
0.3%
77Daily Temperatures
Medium
54
0.7%
78Jump Game
Medium
54
0.4%
79Insert Interval
Medium
54
0.5%
80Minimum Remove to Make Valid Parentheses
Medium
54
0.7%
81Triangle
Medium
54
0.6%
82Find Minimum in Rotated Sorted Array
Medium
54
0.5%
83The Maze
Medium
54
0.6%
84Remove All Adjacent Duplicates in String II
Medium
54
0.6%
85Meeting Rooms II
Medium
54
0.5%
86Remove Nth Node From End of List
Medium
54
0.5%
87Set Matrix Zeroes
Medium
54
0.6%
88Valid Palindrome
Easy
54
0.5%
89Remove K Digits
Medium
54
0.4%
90Next Greater Element III
Medium
54
0.4%
91Next Permutation
Medium
54
0.5%
92Pow(x, n)
Medium
43
0.4%
93Word Search
Medium
43
0.5%
94Populating Next Right Pointers in Each Node
Medium
43
0.7%
95Best Time to Buy and Sell Stock II
Medium
43
0.7%
96Copy List with Random Pointer
Medium
43
0.6%
97Product of Array Except Self
Medium
43
0.7%
98Flatten Nested List Iterator
Medium
43
0.7%
99Longest Common Subsequence
Medium
43
0.6%
100Sort Characters By Frequency
Medium
43
0.8%
101Basic Calculator II
Medium
43
0.5%
102Contiguous Array
Medium
43
0.5%
103Find Peak Element
Medium
43
0.5%
104Find K Pairs with Smallest Sums
Medium
43
0.4%
105Non-decreasing Array
Medium
43
0.3%
106Search in Rotated Sorted Array II
Medium
43
0.4%
107Reverse Integer
Medium
43
0.3%
108Combination Sum II
Medium
43
0.6%
109Count Different Palindromic Subsequences
Hard
43
0.5%
110Reverse Linked List II
Medium
43
0.5%
111Maximum Product Subarray
Medium
43
0.4%
112Remove Letter To Equalize Frequency
Easy
43
0.2%
113Find the Winner of the Circular Game
Medium
43
0.8%
114Asteroid Collision
Medium
43
0.5%
115Subsets
Medium
43
0.8%
116Diameter of Binary Tree
Easy
43
0.7%
117Number of Islands II
Hard
43
0.4%
118Roman to Integer
Easy
43
0.7%
119Rising Temperature
Easy
43
0.5%
120Capacity To Ship Packages Within D Days
Medium
43
0.7%
121Edit Distance
Medium
43
0.6%
122Find All Duplicates in an Array
Medium
43
0.8%
123N-Queens II
Hard
43
0.8%
124Relative Sort Array
Easy
43
0.8%
125Number of Distinct Islands
Medium
43
0.6%
126Find All Anagrams in a String
Medium
43
0.5%
127Longest Substring with At Least K Repeating Characters
Medium
43
0.5%
128Linked List Cycle
Easy
43
0.5%
129Meeting Rooms III
Hard
43
0.5%
130Reconstruct Itinerary
Hard
43
0.4%
131Candy
Hard
43
0.5%
132Decode String
Medium
43
0.6%
133Nearest Exit from Entrance in Maze
Medium
43
0.5%
134Furthest Building You Can Reach
Medium
43
0.5%
135Remove Duplicates from Sorted Array
Easy
43
0.6%
136Bus Routes
Hard
43
0.5%
137Find the Duplicate Number
Medium
43
0.6%
138Perfect Squares
Medium
43
0.6%
139Subarray Product Less Than K
Medium
43
0.5%
140Basic Calculator
Hard
43
0.5%
141Degree of an Array
Easy
43
0.6%
142Vertical Order Traversal of a Binary Tree
Hard
43
0.5%
143Sliding Window Maximum
Hard
43
0.5%
144Cheapest Flights Within K Stops
Medium
43
0.4%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.

Similar companies