grindmapcompany-wise LeetCode
All companies

Agoda LeetCode Questions

45 questions all-time · 14 easy · 29 medium · 2 hard
# Problem Difficulty Frequency Acceptance
1Minimum Absolute Difference
Array, Sorting
Easy
100
0.8%
2Eliminate Maximum Number of Monsters
Array, Greedy, Sorting
Medium
99
0.5%
3Best Time to Buy and Sell Stock
Array, Dynamic Programming
Easy
97
0.6%
4Capacity To Ship Packages Within D Days
Array, Binary Search
Medium
92
0.7%
5Number of Atoms
Hash Table, String, Stack, Sorting
Hard
92
0.7%
6Daily Temperatures
Array, Stack, Monotonic Stack
Medium
90
0.7%
7Find the Child Who Has the Ball After K Seconds
Math, Simulation
Easy
88
0.6%
8Find Diameter Endpoints of a Tree
Tree, Breadth-First Search, Graph Theory
Medium
82
0.7%
93Sum
Array, Two Pointers, Sorting
Medium
76
0.4%
10Unique Paths II
Array, Dynamic Programming, Matrix
Medium
76
0.4%
11Longest Substring Without Repeating Characters
Hash Table, String, Sliding Window
Medium
71
0.4%
12Decode String
String, Stack, Recursion
Medium
71
0.6%
13Remove All Adjacent Duplicates in String II
String, Stack
Medium
71
0.6%
14House Robber
Array, Dynamic Programming
Medium
66
0.5%
15Backspace String Compare
Two Pointers, String, Stack, Simulation
Easy
66
0.5%
16Find Pivot Index
Array, Prefix Sum
Easy
66
0.6%
17Sort Colors
Array, Two Pointers, Sorting
Medium
66
0.7%
18Sort Array by Increasing Frequency
Array, Hash Table, Sorting
Easy
60
0.8%
19Climbing Stairs
Math, Dynamic Programming, Memoization
Easy
60
0.5%
20Sliding Window Maximum
Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue
Hard
60
0.5%
21Coin Change
Array, Dynamic Programming, Breadth-First Search
Medium
60
0.5%
22Subarray Sum Equals K
Array, Hash Table, Prefix Sum
Medium
60
0.5%
23Koko Eating Bananas
Array, Binary Search
Medium
60
0.5%
24Subsets
Array, Backtracking, Bit Manipulation
Medium
60
0.8%
25Valid Parentheses
String, Stack
Easy
50
0.4%
26Triangle
Array, Dynamic Programming
Medium
50
0.6%
27Lexicographically Smallest String After Substring Operation
String, Greedy
Medium
50
0.4%
28Reverse Substrings Between Each Pair of Parentheses
String, Stack
Medium
50
0.7%
29Insert Delete GetRandom O(1)
Array, Hash Table, Math, Design, Randomized
Medium
50
0.6%
30Integer to Roman
Hash Table, Math, String
Medium
50
0.7%
31Next Greater Element I
Array, Hash Table, Stack, Monotonic Stack
Easy
50
0.8%
32Find the Smallest Divisor Given a Threshold
Array, Binary Search
Medium
50
0.7%
33Squares of a Sorted Array
Array, Two Pointers, Sorting
Easy
50
0.7%
34Two Sum
Array, Hash Table
Easy
50
0.6%
35Subarray Product Less Than K
Array, Binary Search, Sliding Window, Prefix Sum
Medium
50
0.5%
36Permutations
Array, Backtracking
Medium
50
0.8%
37Longest Increasing Subsequence
Array, Binary Search, Dynamic Programming
Medium
50
0.6%
38Fizz Buzz
Math, String, Simulation
Easy
50
0.8%
39Longest String Chain
Array, Hash Table, Two Pointers, String, Dynamic Programming, Sorting
Medium
50
0.6%
40Reorganize String
Hash Table, String, Greedy, Sorting, Heap (Priority Queue), Counting
Medium
50
0.6%
41Happy Number
Hash Table, Math, Two Pointers
Easy
50
0.6%
42Best Time to Buy and Sell Stock II
Array, Dynamic Programming, Greedy
Medium
50
0.7%
43Rank Transform of an Array
Array, Hash Table, Sorting
Easy
50
0.7%
44Jump Game
Array, Dynamic Programming, Greedy
Medium
50
0.4%
45Maximum Team Size with Overlapping IntervalsMedium
50
0.5%

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.