Agoda Coding Interview Questions

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 (Easy)
  2. Best Time to Buy and Sell Stock (Easy)
  3. Climbing Stairs (Easy)
  4. Find Pivot Index (Easy)
  5. Find the Child Who Has the Ball After K Seconds (Easy)
  6. Fizz Buzz (Easy)
  7. Greatest Common Divisor of Strings (Easy)
  8. Happy Number (Easy)
  9. Minimum Absolute Difference (Easy)
  10. Move Zeroes (Easy)
  11. Next Greater Element I (Easy)
  12. Rank Transform of an Array (Easy)
  13. Sort Array by Increasing Frequency (Easy)
  14. Squares of a Sorted Array (Easy)
  15. Two Sum (Easy)
  16. Valid Parentheses (Easy)
  17. 3Sum (Medium)
  18. Best Time to Buy and Sell Stock II (Medium)
  19. Brick Wall (Medium)
  20. Capacity To Ship Packages Within D Days (Medium)
  21. Coin Change (Medium)
  22. Daily Temperatures (Medium)
  23. Decode String (Medium)
  24. Eliminate Maximum Number of Monsters (Medium)
  25. Find Diameter Endpoints of a Tree (Medium)
  26. Find the Smallest Divisor Given a Threshold (Medium)
  27. Group Anagrams (Medium)
  28. House Robber (Medium)
  29. Insert Delete GetRandom O(1) (Medium)
  30. Integer to Roman (Medium)
  31. Jump Game (Medium)
  32. Lexicographically Smallest String After Substring Operation (Medium)
  33. Longest Increasing Subsequence (Medium)
  34. Longest String Chain (Medium)
  35. Longest Substring Without Repeating Characters (Medium)
  36. Permutations (Medium)
  37. Remove All Adjacent Duplicates in String II (Medium)
  38. Reorganize String (Medium)
  39. Reverse Substrings Between Each Pair of Parentheses (Medium)
  40. Sort Colors (Medium)
  41. Subarray Product Less Than K (Medium)
  42. Subarray Sum Equals K (Medium)
  43. Triangle (Medium)
  44. Unique Paths II (Medium)
  45. Number of Atoms (Hard)
  46. Sliding Window Maximum (Hard)

Prepare for the rest of the Agoda process

Other companies