# Agoda Coding Interview Questions

> 46 DSA problems asked in Agoda coding interviews and online assessments, sorted easiest first with hints. Free practice for placements on InternHack.

Canonical: https://www.internhack.in/learn/dsa/companies/agoda
Last updated: 2026-11-28

46 DSA problems tagged as asked in Agoda coding interviews and online assessments. Below are all 46: 16 easy, 28 medium and 2 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

## Agoda DSA problems, easiest first

1. [Backspace String Compare](https://www.internhack.in/learn/dsa/problem/backspace-string-compare) (Easy)
2. [Best Time to Buy and Sell Stock](https://www.internhack.in/learn/dsa/problem/best-time-to-buy-and-sell-stock) (Easy)
3. [Climbing Stairs](https://www.internhack.in/learn/dsa/problem/climbing-stairs) (Easy)
4. [Find Pivot Index](https://www.internhack.in/learn/dsa/problem/find-pivot-index) (Easy)
5. [Find the Child Who Has the Ball After K Seconds](https://www.internhack.in/learn/dsa/problem/find-the-child-who-has-the-ball-after-k-seconds) (Easy)
6. [Fizz Buzz](https://www.internhack.in/learn/dsa/problem/fizz-buzz) (Easy)
7. [Greatest Common Divisor of Strings](https://www.internhack.in/learn/dsa/problem/greatest-common-divisor-of-strings) (Easy)
8. [Happy Number](https://www.internhack.in/learn/dsa/problem/happy-number) (Easy)
9. [Minimum Absolute Difference](https://www.internhack.in/learn/dsa/problem/minimum-absolute-difference) (Easy)
10. [Move Zeroes](https://www.internhack.in/learn/dsa/problem/move-zeroes) (Easy)
11. [Next Greater Element I](https://www.internhack.in/learn/dsa/problem/next-greater-element-i) (Easy)
12. [Rank Transform of an Array](https://www.internhack.in/learn/dsa/problem/rank-transform-of-an-array) (Easy)
13. [Sort Array by Increasing Frequency](https://www.internhack.in/learn/dsa/problem/sort-array-by-increasing-frequency) (Easy)
14. [Squares of a Sorted Array](https://www.internhack.in/learn/dsa/problem/squares-of-a-sorted-array) (Easy)
15. [Two Sum](https://www.internhack.in/learn/dsa/problem/two-sum) (Easy)
16. [Valid Parentheses](https://www.internhack.in/learn/dsa/problem/valid-parentheses) (Easy)
17. [3Sum](https://www.internhack.in/learn/dsa/problem/3sum) (Medium)
18. [Best Time to Buy and Sell Stock II](https://www.internhack.in/learn/dsa/problem/best-time-to-buy-and-sell-stock-ii) (Medium)
19. [Brick Wall](https://www.internhack.in/learn/dsa/problem/brick-wall) (Medium)
20. [Capacity To Ship Packages Within D Days](https://www.internhack.in/learn/dsa/problem/capacity-to-ship-packages-within-d-days) (Medium)
21. [Coin Change](https://www.internhack.in/learn/dsa/problem/coin-change) (Medium)
22. [Daily Temperatures](https://www.internhack.in/learn/dsa/problem/daily-temperatures) (Medium)
23. [Decode String](https://www.internhack.in/learn/dsa/problem/decode-string) (Medium)
24. [Eliminate Maximum Number of Monsters](https://www.internhack.in/learn/dsa/problem/eliminate-maximum-number-of-monsters) (Medium)
25. [Find Diameter Endpoints of a Tree](https://www.internhack.in/learn/dsa/problem/find-diameter-endpoints-of-a-tree) (Medium)
26. [Find the Smallest Divisor Given a Threshold](https://www.internhack.in/learn/dsa/problem/find-the-smallest-divisor-given-a-threshold) (Medium)
27. [Group Anagrams](https://www.internhack.in/learn/dsa/problem/group-anagrams) (Medium)
28. [House Robber](https://www.internhack.in/learn/dsa/problem/house-robber) (Medium)
29. [Insert Delete GetRandom O(1)](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1) (Medium)
30. [Integer to Roman](https://www.internhack.in/learn/dsa/problem/integer-to-roman) (Medium)
31. [Jump Game](https://www.internhack.in/learn/dsa/problem/jump-game) (Medium)
32. [Lexicographically Smallest String After Substring Operation](https://www.internhack.in/learn/dsa/problem/lexicographically-smallest-string-after-substring-operation) (Medium)
33. [Longest Increasing Subsequence](https://www.internhack.in/learn/dsa/problem/longest-increasing-subsequence) (Medium)
34. [Longest String Chain](https://www.internhack.in/learn/dsa/problem/longest-string-chain) (Medium)
35. [Longest Substring Without Repeating Characters](https://www.internhack.in/learn/dsa/problem/longest-substring-without-repeating-characters) (Medium)
36. [Permutations](https://www.internhack.in/learn/dsa/problem/permutations) (Medium)
37. [Remove All Adjacent Duplicates in String II](https://www.internhack.in/learn/dsa/problem/remove-all-adjacent-duplicates-in-string-ii) (Medium)
38. [Reorganize String](https://www.internhack.in/learn/dsa/problem/reorganize-string) (Medium)
39. [Reverse Substrings Between Each Pair of Parentheses](https://www.internhack.in/learn/dsa/problem/reverse-substrings-between-each-pair-of-parentheses) (Medium)
40. [Sort Colors](https://www.internhack.in/learn/dsa/problem/sort-colors) (Medium)
41. [Subarray Product Less Than K](https://www.internhack.in/learn/dsa/problem/subarray-product-less-than-k) (Medium)
42. [Subarray Sum Equals K](https://www.internhack.in/learn/dsa/problem/subarray-sum-equals-k) (Medium)
43. [Triangle](https://www.internhack.in/learn/dsa/problem/triangle) (Medium)
44. [Unique Paths II](https://www.internhack.in/learn/dsa/problem/unique-paths-ii) (Medium)
45. [Number of Atoms](https://www.internhack.in/learn/dsa/problem/number-of-atoms) (Hard)
46. [Sliding Window Maximum](https://www.internhack.in/learn/dsa/problem/sliding-window-maximum) (Hard)

## Prepare for the rest of the Agoda process

- [Aptitude questions by company](https://www.internhack.in/learn/aptitude/companies)
- [Technical interview questions](https://www.internhack.in/learn/interview)
- [Free ATS resume check](https://www.internhack.in/ats-score/try), no signup

## Other companies

- [Google](https://www.internhack.in/learn/dsa/companies/google) (2217)
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon) (1938)
- [Meta](https://www.internhack.in/learn/dsa/companies/meta) (1387)
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft) (1352)
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg) (1173)
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok) (383)
- [Uber](https://www.internhack.in/learn/dsa/companies/uber) (381)
- [Apple](https://www.internhack.in/learn/dsa/companies/apple) (356)
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle) (340)
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs) (270)
- [Adobe](https://www.internhack.in/learn/dsa/companies/adobe) (227)
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs) (217)
- [Salesforce](https://www.internhack.in/learn/dsa/companies/salesforce) (189)
- [Linkedin](https://www.internhack.in/learn/dsa/companies/linkedin) (180)
- [Zoho](https://www.internhack.in/learn/dsa/companies/zoho) (179)
- [IBM](https://www.internhack.in/learn/dsa/companies/ibm) (170)
- [Infosys](https://www.internhack.in/learn/dsa/companies/infosys) (158)
- [Walmart Labs](https://www.internhack.in/learn/dsa/companies/walmart-labs) (152)
- [Accenture](https://www.internhack.in/learn/dsa/companies/accenture) (144)
- [Nvidia](https://www.internhack.in/learn/dsa/companies/nvidia) (137)
- [Yandex](https://www.internhack.in/learn/dsa/companies/yandex) (134)
- [DE Shaw](https://www.internhack.in/learn/dsa/companies/de-shaw) (124)
- [Visa](https://www.internhack.in/learn/dsa/companies/visa) (124)
- [Flipkart](https://www.internhack.in/learn/dsa/companies/flipkart) (117)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA by company](https://www.internhack.in/learn/dsa/companies)
