How often are these problems asked?
Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Agoda interviews.
Very Likely
75-100%
Likely
50-74%
Sometimes
25-49%
Rare
0-24%
Problem database last updated: June 20, 2025
40 problems · 14 Easy, 24 Medium, 2 Hard · Ranked #53 of 458
14 Easy
35% · avg 23%
24 Medium
60% · avg 59%
2 Hard
5% · avg 18%
Based on 40 reported problems, Agoda interviews are easier than average - only 5% Hard compared to 18% across all companies. The majority (60%) of questions are Medium difficulty, which is typical for companies that want to see solid fundamentals without excessive trick questions.
Compared to the industry average, Agoda puts unusual emphasis on sliding-window (10% of problems, 2.1x the industry average), stack (15% of problems, 1.7x the industry average), monotonic-stack (5% of problems, 1.7x the industry average). If you're short on time, these are the categories to double down on.
The most common topics are array (67.5%), string (27.5%), sorting (22.5%), hash-table (22.5%). Problems below are sorted by frequency, the ones at the top are asked most often.
| Problem | Difficulty | Frequency | Topics | |
|---|---|---|---|---|
3Sum Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0. | Medium | Very Likely | arraytwo-pointerssorting | Solve |
Find the Child Who Has the Ball After K Seconds You are given two positive integers n and k. There are n children numbered from 0 to n - 1 standing in a queue in order from left to right. | Easy | Very Likely | mathsimulation | Solve |
Best Time to Buy and Sell Stock You are given an array prices where prices[i] is the price of a given stock on the ith day. | Easy | Very Likely | arraydynamic-programming | Solve |
Capacity To Ship Packages Within D Days A conveyor belt has packages that must be shipped from one port to another within days days. | Medium | Very Likely | arraybinary-search | Solve |
Longest Substring Without Repeating Characters Given a string s, find the length of the longest substring without duplicate characters. | Medium | Very Likely | hash-tablestringsliding-window | Solve |
Unique Paths II You are given an m x n integer array grid. There is a robot initially located at the top-left corner (i.e., grid[0][0]). The robot tries to move to the bottom-r... | Medium | Very Likely | arraydynamic-programmingmatrix | Solve |
Minimum Absolute Difference Given an array of distinct integers arr, find all pairs of elements with the minimum absolute difference of any two elements. | Easy | Very Likely | arraysorting | Solve |
Daily Temperatures Given an array of integers temperatures represents the daily temperatures, return an array answer such that answer[i] is the number of days you have to wait aft... | Medium | Very Likely | arraystackmonotonic-stack | Solve |
House Robber You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from rob... | Medium | Likely | arraydynamic-programming | Solve |
Coin Change You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money. | Medium | Likely | arraydynamic-programmingbreadth-first-search | Solve |
Minimum Window Substring Given two strings s and t of lengths m and n respectively, return the minimum window substring of s such that every character in t (including duplicates) is inc... | Hard | Likely | hash-tablestringsliding-window | Solve |
Integer to Roman Seven different symbols represent Roman numerals with the following values: | Medium | Likely | hash-tablemathstring | Solve |
Triangle Given a triangle array, return the minimum path sum from top to bottom. | Medium | Likely | arraydynamic-programming | Solve |
Backspace String Compare Given two strings s and t, return true if they are equal when both are typed into empty text editors. '' means a backspace character. | Easy | Likely | two-pointersstringstack | Solve |
Brick Wall There is a rectangular brick wall in front of you with n rows of bricks. The ith row has some number of bricks each of the same height (i.e., one unit) but they... | Medium | Likely | arrayhash-table | Solve |
Find Pivot Index Given an array of integers nums, calculate the pivot index of this array. | Easy | Likely | arrayprefix-sum | Solve |
Eliminate Maximum Number of Monsters You are playing a video game where you are defending your city from a group of n monsters. You are given a 0-indexed integer array dist of size n, where dist[i]... | Medium | Likely | arraygreedysorting | Solve |
Squares of a Sorted Array Given an integer array nums sorted in non-decreasing order, return an array of the squares of each number sorted in non-decreasing order. | Easy | Likely | arraytwo-pointerssorting | Solve |
Find the Smallest Divisor Given a Threshold Given an array of integers nums and an integer threshold, we will choose a positive integer divisor, divide all the array by it, and sum the division's result.... | Medium | Likely | arraybinary-search | Solve |
Reverse Substrings Between Each Pair of Parentheses You are given a string s that consists of lower case English letters and brackets. | Medium | Likely | stringstack | Solve |
Permutation in String Given two strings s1 and s2, return true if s2 contains a permutation of s1, or false otherwise. | Medium | Likely | hash-tabletwo-pointersstring | Solve |
Lexicographically Smallest String After Substring Operation Given a string s consisting of lowercase English letters. Perform the following operation: | Medium | Likely | stringgreedy | Solve |
Move Zeroes Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements. | Easy | Likely | arraytwo-pointers | Solve |
Two Sum Given an array of integers nums and an integer target, return the indices of the two numbers that add up to target. | Easy | Likely | arrayhash-map | Solve |
Can Place Flowers You have a long flowerbed in which some of the plots are planted, and some are not. However, flowers cannot be planted in adjacent plots. | Easy | Likely | arraygreedy | Solve |
Merge Intervals Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cove... | Medium | Likely | arraysorting | Solve |
Longest Palindromic Substring Given a string s, return the longest palindromic substring in s. | Medium | Likely | two-pointersstringdynamic-programming | Solve |
Merge Sorted Array You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in nums1 and num... | Easy | Likely | arraytwo-pointerssorting | Solve |
Valid Parentheses Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. | Easy | Likely | stringstack | Solve |
Plus One You are given a large integer represented as an integer array digits, where each digits[i] is the ith digit of the integer. The digits are ordered from most sig... | Easy | Likely | arraymath | Solve |
Sort Array by Increasing Frequency Given an array of integers nums, sort the array in increasing order based on the frequency of the values. If multiple values have the same frequency, sort them... | Easy | Likely | arrayhash-tablesorting | Solve |
Next Greater Element I The next greater element of some element x in an array is the first greater element that is to the right of x in the same array. | Easy | Likely | arrayhash-tablestack | Solve |
Group Anagrams Given an array of strings strs, group the anagrams together. You can return the answer in any order. | Medium | Likely | arrayhash-tablestring | Solve |
Decode String Given an encoded string, return its decoded string. | Medium | Likely | stringstackrecursion | Solve |
Jump Game II You are given a 0-indexed array of integers nums of length n. You are initially positioned at index 0. | Medium | Likely | arraydynamic-programminggreedy | Solve |
Subarray Product Less Than K Given an array of integers nums and an integer k, return the number of contiguous subarrays where the product of all the elements in the subarray is strictly le... | Medium | Likely | arraybinary-searchsliding-window | Solve |
Best Time to Buy and Sell Stock II You are given an integer array prices where prices[i] is the price of a given stock on the ith day. | Medium | Likely | arraydynamic-programminggreedy | Solve |
Insert Delete GetRandom O(1) Implement the RandomizedSet class: | Medium | Likely | arrayhash-tablemath | Solve |
Find Median from Data Stream The median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value, and the median is the mean of the two midd... | Hard | Likely | two-pointersdesignsorting | Solve |
Kth Smallest Element in a BST Given the root of a binary search tree, and an integer k, return the kth smallest value (1-indexed) of all the values of the nodes in the tree. | Medium | Likely | treedepth-first-searchbinary-search-tree | Solve |
3Sum
SolveGiven an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0.
Find the Child Who Has the Ball After K Seconds
SolveYou are given two positive integers n and k. There are n children numbered from 0 to n - 1 standing in a queue in order from left to right.
Best Time to Buy and Sell Stock
SolveYou are given an array prices where prices[i] is the price of a given stock on the ith day.
Capacity To Ship Packages Within D Days
SolveA conveyor belt has packages that must be shipped from one port to another within days days.
Longest Substring Without Repeating Characters
SolveGiven a string s, find the length of the longest substring without duplicate characters.
Unique Paths II
SolveYou are given an m x n integer array grid. There is a robot initially located at the top-left corner (i.e., grid[0][0]). The robot tries to move to the bottom-r...
Minimum Absolute Difference
SolveGiven an array of distinct integers arr, find all pairs of elements with the minimum absolute difference of any two elements.
Daily Temperatures
SolveGiven an array of integers temperatures represents the daily temperatures, return an array answer such that answer[i] is the number of days you have to wait aft...
House Robber
SolveYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from rob...
Coin Change
SolveYou are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money.
Minimum Window Substring
SolveGiven two strings s and t of lengths m and n respectively, return the minimum window substring of s such that every character in t (including duplicates) is inc...
Integer to Roman
SolveSeven different symbols represent Roman numerals with the following values:
Triangle
SolveGiven a triangle array, return the minimum path sum from top to bottom.
Backspace String Compare
SolveGiven two strings s and t, return true if they are equal when both are typed into empty text editors. '' means a backspace character.
Brick Wall
SolveThere is a rectangular brick wall in front of you with n rows of bricks. The ith row has some number of bricks each of the same height (i.e., one unit) but they...
Find Pivot Index
SolveGiven an array of integers nums, calculate the pivot index of this array.
Eliminate Maximum Number of Monsters
SolveYou are playing a video game where you are defending your city from a group of n monsters. You are given a 0-indexed integer array dist of size n, where dist[i]...
Squares of a Sorted Array
SolveGiven an integer array nums sorted in non-decreasing order, return an array of the squares of each number sorted in non-decreasing order.
Find the Smallest Divisor Given a Threshold
SolveGiven an array of integers nums and an integer threshold, we will choose a positive integer divisor, divide all the array by it, and sum the division's result....
Reverse Substrings Between Each Pair of Parentheses
SolveYou are given a string s that consists of lower case English letters and brackets.
Permutation in String
SolveGiven two strings s1 and s2, return true if s2 contains a permutation of s1, or false otherwise.
Lexicographically Smallest String After Substring Operation
SolveGiven a string s consisting of lowercase English letters. Perform the following operation:
Move Zeroes
SolveGiven an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements.
Two Sum
SolveGiven an array of integers nums and an integer target, return the indices of the two numbers that add up to target.
Can Place Flowers
SolveYou have a long flowerbed in which some of the plots are planted, and some are not. However, flowers cannot be planted in adjacent plots.
Merge Intervals
SolveGiven an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cove...
Longest Palindromic Substring
SolveGiven a string s, return the longest palindromic substring in s.
Merge Sorted Array
SolveYou are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in nums1 and num...
Valid Parentheses
SolveGiven a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
Plus One
SolveYou are given a large integer represented as an integer array digits, where each digits[i] is the ith digit of the integer. The digits are ordered from most sig...
Sort Array by Increasing Frequency
SolveGiven an array of integers nums, sort the array in increasing order based on the frequency of the values. If multiple values have the same frequency, sort them...
Next Greater Element I
SolveThe next greater element of some element x in an array is the first greater element that is to the right of x in the same array.
Group Anagrams
SolveGiven an array of strings strs, group the anagrams together. You can return the answer in any order.
Decode String
SolveGiven an encoded string, return its decoded string.
Jump Game II
SolveYou are given a 0-indexed array of integers nums of length n. You are initially positioned at index 0.
Subarray Product Less Than K
SolveGiven an array of integers nums and an integer k, return the number of contiguous subarrays where the product of all the elements in the subarray is strictly le...
Best Time to Buy and Sell Stock II
SolveYou are given an integer array prices where prices[i] is the price of a given stock on the ith day.
Find Median from Data Stream
SolveThe median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value, and the median is the mean of the two midd...
Kth Smallest Element in a BST
SolveGiven the root of a binary search tree, and an integer k, return the kth smallest value (1-indexed) of all the values of the nodes in the tree.
Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Agoda interviews.
Very Likely
75-100%
Likely
50-74%
Sometimes
25-49%
Rare
0-24%
Agoda interviews focus heavily on array, string, sorting problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.
Beyond solving problems, practice explaining your approach. Agoda interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.
Looking for more companies? Browse all 458 companies in our directory, or sharpen your fundamentals with our free data structure visualizers and AI-powered DSA tutor.
Agoda has been reported to ask 40 distinct coding problems. The most common topics are array, string, sorting. 14 are Easy difficulty, 24 are Medium, and 2 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.
Based on 40 reported problems, Agoda interviews are easier than average - only 5% Hard compared to 18% across all companies. 60% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.
Start with the highest-frequency problems listed on this page. Focus on the core topics: array, string, sorting. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.
Simulate a real Agoda coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.
Simulate a Agoda interview with AIarrow_forward