0 day streak

Agoda coding interview questions

ProductE-commerce and consumer Global

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Reverse Words in a StringDouble Reversal Trick Medium Arrays & Hashing Microsoft, Nvidia, Snap +38 Solve
Can Place FlowersGreedy Easy Arrays & Hashing LinkedIn, Nutanix, Yahoo +4 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Amazon, Microsoft +68 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +114 Solve
Koko Eating BananasBinary Search on Answer Space Medium Binary Search Amazon, Netflix, Uber +34 Solve
Minimum Absolute DifferenceGreedy Easy Arrays & Hashing Akamai, Salesforce, JPMorgan Chase +5 Solve
Capacity To Ship Packages Within D DaysBinary Search on Answer Space Medium Binary Search Amazon, Snap, Expedia Group +7 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +101 Solve
Climbing Stairs1D DP Easy Dynamic Programming Microsoft, Bloomberg, eBay +34 Solve
Degree of an ArrayHashing Easy Arrays & Hashing Robinhood, Expedia Group, Turing +5 Solve
Sort ColorsDutch National Flag Medium Arrays & Hashing Microsoft, Nvidia, Expedia Group +43 Solve
Palindromic SubstringsStrings Medium Dynamic Programming Akamai, Anduril, Coursera +15 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +82 Solve
Sliding Window MaximumMonotonic Stack Hard Monotonic Stack Google, Amazon, Microsoft +51 Solve
Daily TemperaturesMonotonic Stack Medium Monotonic Stack Amazon, Grab, TikTok (ByteDance) +20 Solve
Remove All Adjacent Duplicates in String IIStack Basics Medium Stack Amazon, Spotify, Twilio +10 Solve
Decode StringStack Basics Medium Stack Google, Amazon, Microsoft +31 Solve
Unique Paths II2D DP Medium Dynamic Programming Nvidia, GoDaddy, Intuit +9 Solve
Backspace String CompareTwo Pointer Easy Arrays & Hashing Amazon, Booking.com, Wayfair +6 Solve
Subarray Sum Equals KPrefix Sum Strategy Medium Arrays & Hashing Google, Amazon, Microsoft +41 Solve
House RobberAlternate Selection / Pick / Not pick Medium Dynamic Programming Google, Microsoft, Airbnb +43 Solve
Find Pivot IndexPrefix Sum Strategy Easy Arrays & Hashing Spotify, Tesla, Expedia Group +13 Solve
Coin ChangeKnapsack Medium Dynamic Programming Google, Amazon, Microsoft +55 Solve
Subsets (2 choices per element)Pick / Not-Pick Medium Recursion & Backtracking Bloomberg, Reddit, Elastic +9 Solve
Valid ParenthesesStack Basics Easy Stack Google, Amazon, Microsoft +119 Solve
Integer to RomanGreedy Medium Arrays & Hashing DoorDash, Booking.com, X (Twitter) +21 Solve
Next Greater Element IMonotonic Stack Easy Monotonic Stack Akamai, Zynga, Oracle +22 Solve
Find the Smallest Divisor Given a ThresholdBinary Search on Answer Space Medium Binary Search Expedia Group, PayPal, IBM +1 Solve
Count of Subarrays with Product Less Than KSliding Window · Variable Medium Arrays & Hashing Apple, Expedia Group, Coursera +11 Solve
Longest Increasing Subsequence1D DP Medium Dynamic Programming Google, Microsoft, TikTok (ByteDance) +29 Solve
Longest String Chain1D DP Medium Dynamic Programming Moloco, Wix, Atlassian +5 Solve
Reorganize StringGreedy Medium Arrays & Hashing Amazon, Apple, Pinterest +11 Solve
Happy NumberSlow Fast Pointers Easy Linked List Airbnb, Snowflake, Tesla +11 Solve
Best Time to Buy and Sell Stock IIState Machine DP - Stock Problems Medium Dynamic Programming Lowe's, Nike, ServiceNow +15 Solve
Jump GameGreedy Medium Arrays & Hashing Google, Apple, DoorDash +28 Solve
Valid Word AbbreviationTwo Pointer Easy Arrays & Hashing Meta, LinkedIn, Datadog Solve
Triangle2D DP - max/min of last row Medium Dynamic Programming PayPal Solve
Insert Delete GetRandom O(1)Hash Map + Array Medium Design Data Structures Google, Amazon, Apple +50 Solve
Squares of a Sorted ArrayTwo Pointer Easy Arrays & Hashing Uber, Bloomberg, Instacart +9 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
PermutationsPermutations Medium Recursion & Backtracking Google, Apple, LinkedIn +23 Solve
Fizz BuzzSimulation Easy Arrays & Hashing Nvidia, Spotify, Wayfair +11 Solve
Also reported, being added to AlgoRung (9)

Number of Atoms · Rank Transform of an Array · Eliminate Maximum Number of Monsters · Find Diameter Endpoints of a Tree · Find the Child Who Has the Ball After K Seconds · Maximum Team Size with Overlapping Intervals · Sort Array by Increasing Frequency · Lexicographically Smallest String After Substring Operation · Reverse Substrings Between Each Pair of Parentheses

Questions people ask

What coding questions does Agoda ask most?

Reverse Words in a String, Can Place Flowers, 3Sum, Longest Substring Without Repeating Characters, Koko Eating Bananas, Minimum Absolute Difference, Capacity To Ship Packages Within D Days, Best Time to Buy and Sell Stock.

Which topics come up in Agoda coding rounds?

arrays, strings, stack, binary search, sliding window, dynamic programming.

How hard are Agoda coding questions?

Of the reported questions, 14 are easy, 27 medium and 1 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.