85 questions · from 28 interviews · 2 asked more than once

Agoda interview questions

Every question candidates reported from their Agoda interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.

Agoda coding and DSA questions

  1. 01

    Reverse Words in a String

    Given a string, reverse the order of words in the string. Example: Input "Hello Bangkok:)" should output "Bangkok:) Hello".

    Easy · From Agoda | SDE-2 (SSE) | Bangkok | Offer

  2. 02

    Can Place Flowers

    LeetCode 605: Given an integer array flowerbed representing a flowerbed (1 means a flower is planted, 0 means empty) and an integer n, determine if n new flowers can be placed without violating the no-adjacent-flowers rule.

    Easy · From Agoda | SDE-2 (SSE) | Bangkok | Offer

  3. 03

    Molecule weight calculation (no brackets)

    Calculate the weight of a molecule string that contains only the atoms C, H, O with weights 12, 1, 8 respectively. The formula contains only these atoms and any single‑digit numbers (e.g., CH4). The weight is the sum of each atom multiplied by its count.

    From Agoda interview experience | Staff software engineer

  4. 04

    Molecule weight calculation with brackets

    Extend the previous problem: the formula may now contain brackets. A number outside a bracket multiplies the total weight of the sub‑molecule inside the brackets. Example: H(CH4)2 has weight 33.

    From Agoda interview experience | Staff software engineer

  5. 05

    Sort array containing only 1 and 2

    Given an array containing only 1 and 2, sort it in place without using any extra space.

    From Agoda Interview Experience — IC5 Backend Lead — Selected

  6. 06

    Sort array containing 1, 2, and 3

    Extend the solution to handle an array containing 1, 2, and 3, again sorting it in place without using any extra space.

    From Agoda Interview Experience — IC5 Backend Lead — Selected

  7. 07

    Degree of an Array

    LeetCode problem "Degree of an Array". The task is to find the degree of the given array (the maximum frequency of any element) and then return the length of the smallest contiguous subarray that has the same degree. Link:…

    From Agoda Staff Backend Interview Experience | 1-Day Fast Track

  8. 08

    Disk Space Analyzer

    Given an array space[] and a window size x: 1. Find the minimum available space in every contiguous window of size x. 2. Return the maximum among those minimum values. Example: x = 2 space = [8, 2, 4, 6] window minimums = [2, 2, 4] answer = 4 The problem…

    From Agoda Staff Backend Interview Experience | 1-Day Fast Track

  9. 09

    Find Pivot Element in Array

    Find pivot element from a given array, all elements towards left are smaller and all elements towards right are greater than pivot.

    From Agoda Round 1: Staff Interview Question

  10. 10

    Calculate Molecular Weight from Chemical Formula

    Given a chemical formula like CH4, return its weight, each element has a separate weight like C has 12, H has 1, O has 2.

    From Agoda Round 1: Staff Interview Question

  11. 11

    Minimum Daily Reading Limit

    You are given an array of integers where each element represents the number of pages in a sequence of chapters. You need to finish reading all the chapters in exactly D days. You must read the chapters in the exact order they are given. Each day, you can…

    Medium · From Agoda | Staff Software Engineer | Bangkok | MAY 2026

  12. 12

    Rank Transform of an Array

    Given an integer array arr, replace each element with its rank among the unique values in the array. The smallest element gets rank 1, the next smallest gets rank 2, and so on.

    Easy · From Agoda | Staff Software Engineer

  13. 13

    Climbing Stairs with 1-3 Step Jumps

    Given an integer n, count the number of distinct ways to reach the top of a staircase where you can climb 1, 2, or 3 steps at a time.

    Easy · From Agoda | Staff Software Engineer

  14. 14

    Group Anagrams

    Given an array of strings, group the anagrams together. Return a list of groups where each group contains strings that are anagrams of each other.

    Medium · From Agoda Interview Experience (Software Engineering Intern)

  15. 15

    3Sum Problem

    Given an integer array nums, find all unique triplets [a, b, c] such that a + b + c = 0.

    Medium · From Agoda | SDE Intern (6 Months) | Gurugram | May 2026 | Offer

  16. 16

    Find All Pairs with Minimum Absolute Difference

    Given an array, find all pairs of elements whose difference is equal to the minimum absolute difference in the array. Example input = [1,3,10,7,5] output = [[1,3], [5,7]] The output contains all pairs whose absolute difference equals the smallest possible…

    From Staff SE - Back End | Pair Coding Round | Agoda

  17. 17

    Next Smaller Element Distance to the Right

    Given an array, for each element find the distance (index gap) to the next smaller element on its right. Hint: This problem can be solved using a monotonic stack.

    From Staff SE - Back End | Pair Coding Round | Agoda

  18. 18

    Simple Chemical Formula Evaluation

    Write a function calculateWeight(String formula) that computes the molecular weight of a chemical formula. Supported elements: C = 12, H = 1, O = 8. The formula contains no parentheses and only single‑digit multipliers. Example: Input: CH4 Output: 16 (C = 12,…

    From Agoda Staff Software Engineer Interview Experience

  19. 19

    Complex Chemical Formula Evaluation

    Extend the previous problem to support nested parentheses and multipliers that apply to the entire group. Example 1: Input H(CH4)2 Output 33. Example 2: Input ((CH4)) Output 16. Required concepts include stack‑based parsing and recursive/group evaluation.

    From Agoda Staff Software Engineer Interview Experience

  20. 20

    Feasibility of Printing Within Given Days

    Given an array representing pages in book chapters, a fixed daily printing limit, and a number of days D, determine whether it is possible to print all chapters within D days. Chapters must remain in order and cannot be split across days. Example: Pages =…

    From Agoda Senior Software Engineer Interview Experience

  21. 21

    Minimum Daily Printing Limit

    Given an array of pages per chapter and a number of days D, find the minimum daily printing limit required to finish printing within D days while keeping chapter order and not splitting chapters. Example: Pages = [100, 200, 300, 400] D = 3 Output: 500

    From Agoda Senior Software Engineer Interview Experience

  22. 22

    Reassign Priorities

    Given an input array of integers, produce an output array where each element is replaced by its rank (starting from 1) in the sorted order of the unique values. Example: Input: [1,4,8,4] Output: [1,2,3,2] The candidate solved this using a TreeMap and a…

    From Agoda | Staff Engineer | Bangkok | [Reject]

  23. 23

    Molecule Weight Calculator

    Given atomic weights for three atoms (C = 12, H = 1, O = 8) and a chemical formula string, compute the total molecular weight. Examples: - CH4 = 16 - H(CH4)2 = 33 The candidate used a stack‑based approach to handle nested parentheses and multipliers.

    From Agoda | Staff Engineer | Bangkok | [Reject]

  24. 24

    Nearest Smaller Element using Monotonic Stack

    Given an array of integers, for each element find the nearest element to its left that is smaller than it. The solution should use a monotonic stack to achieve an O(N) time complexity.

    Medium · From Agoda | Staff Engineer | Bangkok | [Selected]

  25. 25

    Rank Elements by Priority

    Given an array of priority values, assign a rank to each element such that higher numbers receive higher ranks. For example, the largest priority gets rank 1, the second largest gets rank 2, and so on.

    From Agoda | Staff Engineer | Bangkok | [Selected]

20 more in the Agoda write-ups.

Agoda system design questions

  1. 01

    Design a Location Sharing App

    Design a location sharing application where users can share their location with time and location based restrictions (e.g., share for a limited time window or within a geographic radius).

    Hard · Asked 2 times · From Agoda | SDE-2 (SSE) | Bangkok | Offer

  2. 02

    Design WhatsApp

    Design an architecture for a messaging platform similar to WhatsApp, covering message delivery, storage, scaling, and real-time communication considerations.

    Hard · Asked 2 times · From Agoda | SDE-2 (SSE) | Bangkok | Offer

  3. 03

    Design a Banking System

    Design a banking system that supports accounts, transactions, and money transfers between accounts. Discuss class structures, relationships, and essential methods.

    From Agoda | SDE-2 (SSE) | Bangkok | Offer

  4. 04

    Improve booking data architecture

    Design an improved architecture for a system where suppliers pull booking data from the platform. The initial flow is: Suppliers → External API → Internal booking API → Database. Suppliers expose a POST /getBookings endpoint, and the internal booking API is…

    From Agoda interview experience | Staff software engineer

  5. 05

    Design flight-search API aggregating results from multiple suppliers

    Design a flight-search API that aggregates results from 20–200 external suppliers. Each supplier supports one route query at a time and may use JSON, SOAP/XML, or Protobuf. The system must deduplicate duplicate flights, select the cheapest fare, handle…

    From Agoda Interview Experience — IC5 Backend Lead — Selected

  6. 06

    Flight Aggregator System Design

    Design a flight aggregator system that pulls data from multiple providers, allows users to search for flights by origin and destination, and supports booking tickets. Consider scalability bottlenecks, incomplete API, data fetching and freshness, caching of…

    From Agoda | Staff Software Engineer | Bangkok | MAY 2026

  7. 07

    Payment Gateway System Design for 10M DAU

    Design a payment gateway system to support Agoda users at a scale of 10 million daily active users. Include handling of transactions, integration with external providers such as Stripe, reconciliation system, and overall architecture to ensure reliability and…

    From Agoda | Staff Software Engineer | Bangkok | MAY 2026

  8. 08

    Design a Hotel Search Page

    Design a hotel search page from scratch that is scalable, maintainable, and observable. The page must support real-time chat integration, handle up to a million users, allow multiple teams to deploy features independently, and include UI elements such as date…

    From Agoda | Staff Software Engineer

  9. 09

    Design a Chat Application

    Design a chat application that supports one-to-one messaging, one-to-many messaging, and read receipts similar to WhatsApp. Include functional and non‑functional requirements, database schema, and discuss scalability considerations.

    From Agoda Interview Experience (Software Engineering Intern)

  10. 10

    Design a Database Schema for a PVR Cinema

    Design a relational database schema to model a PVR Cinema, including entities such as movies, screens, showtimes, bookings, and users.

    From Agoda | SDE Intern (6 Months) | Gurugram | May 2026 | Offer

  11. 11

    Booking Platform API Design

    Design a booking platform API that external suppliers can use to fetch booking information. Requirements: support 10‑20 suppliers; suppliers may filter bookings by last 5 minutes, last 2 hours, last 1 day, next 7 days check‑ins, next 30 days check‑ins; peak…

    From Agoda Staff Software Engineer Interview Experience

  12. 12

    Design a Flight Booking System

    Design an end-to-end flight booking system. Discuss REST APIs for search and booking, scalability, load balancing, observability/monitoring, handling network failures, CAP theorem tradeoffs, testing types, booking consistency, concurrent seat booking, failure…

    From Agoda Senior Software Engineer Interview Experience

  13. 13

    System Design: Image Generation with Expiring Links

    Design a system where images are generated using a link that expires in 10 seconds. Analyze the design and propose as many enhancements as possible.

    From Agoda | Staff Engineer | Gurugram

  14. 14

    Supermarket SKU Tracking Data Engineering System Design

    Design a Data Engineering system for a supermarket to track SKUs of items in stock across hundreds of stores. There are two streams: - stock, items coming in at ~1M QPS (itemid, numberofitems either +/- indicating buy/sell, quantitybefore, timestamp) from…

    From Agoda Senior/Staff MLE Interview

  15. 15

    Design a REST API for a Book Management System

    Design a simple REST API to manage a list of books. The API should support basic CRUD operations (Create, Read, Update, Delete) for books. Each book should have attributes such as an ID, title, author, and ISBN. Additionally, the design should incorporate…

    From Agoda | Staff SE | OA

  16. 16

    API Design: Plain HTTP Client Basics

    An API design question focused on demonstrating strong understanding of plain HTTP client basics, emphasizing solutions without relying on high-level frameworks like Spring or other abstract client libraries.

    From Agoda interview experience - Staff Backend - July 25

  17. 17

    System Improvement and Code Review

    I was presented with a badly designed system and asked to propose improvements. The round also involved a code review component and discussion about database and technology choices, with a thorough grilling on 'how, what, why, why not' behind my decisions.

    From Agoda interview experience - Staff Backend - July 25

  18. 18

    High-Level System Design

    A classic high-level system design exercise was given, requiring me to outline the architecture of a large-scale system.

    From Agoda interview experience - Staff Backend - July 25

  19. 19

    Improve Existing Booking System Design

    Given an existing booking or data fetching system design, the task was to identify areas for improvement. This involved suggesting architectural enhancements such as: Adding load balancers (LB) Implementing rate limiters Integrating message queues The…

    From Agoda Bangkok interview experience, Staff Software Engineer July-Aug 2025

  20. 20

    REST API Design and Secure Connectivity

    Discuss potential improvements for REST APIs, explore different types of authentication mechanisms, and explain strategies for managing robust and secure connectivity sessions.

    From Agoda Bangkok interview experience, Staff Software Engineer July-Aug 2025

  21. 21

    Design a Concert Booking System (Flash Sale Variant)

    Design a system for concert booking, conceptually similar to a flash sale system. The discussion focused on demonstrating overall design skills, including: Analyzing trade-offs Identifying potential bottlenecks Planning for scalability I was advised to start…

    Hard · From Agoda Bangkok interview experience, Staff Software Engineer July-Aug 2025

  22. 22

    Metrics and Telemetry Discussion

    Detailed discussions focused on system metrics and telemetry throughout the architectural design process.

    From Agoda Bangkok interview experience, Staff Software Engineer July-Aug 2025

  23. 23

    Hotel Inventory System Design

    Design a system where you are required to find the inventory of the hotels. You will be querying the Agoda's internal data as well as call the external services like Makemytrip, Booking.com to get the inventory data as well.

    From Senior Software Engineer Interview Experience

  24. 24

    Design Booking.com

    Design a platform similar to Booking.com, with a particular focus on the search and booking services.

    From Agoda | Staff Engg | Bangkok | Oct 2024 | Rejected

  25. 25

    Design an Elevator System (LLD)

    Design an elevator system for a building. This was specifically an LLD (Low-Level Design) question.

    Medium · From Agoda | SSE | Interview Experience | Bangkok | Offer

3 more in the Agoda write-ups.

Agoda behavioural and HR questions

  1. 01

    Recurring production bugs scenario

    If multiple bugs have been appearing over a period of time, how would you investigate and resolve them? How would you identify the root cause and prevent recurrence?

    From Agoda Interview Experience — IC5 Backend Lead — Selected

  2. 02

    Urgent bug with limited technical bandwidth

    If a critical bug needs to be addressed soon but the team doesn't have enough technical bandwidth, how would you communicate the situation to your Engineering Manager and Product team?

    From Agoda Interview Experience — IC5 Backend Lead — Selected

  3. 03

    Mentoring and promotions

    How do you identify whether a junior engineer is ready for promotion? How would you help them grow and bring out their best?

    From Agoda Interview Experience — IC5 Backend Lead — Selected

  4. 04

    Agile/Scrum improvement

    What shortcomings or design flaws have you observed in the current Agile/Scrum workflow? What changes would you introduce to improve it?

    From Agoda Interview Experience — IC5 Backend Lead — Selected

  5. 05

    Cross-team integration testing

    How would you organize integration testing involving multiple teams when the deadline is tight? What process would you introduce to coordinate dependencies, identify blockers early, and ensure end-to-end quality?

    From Agoda Interview Experience — IC5 Backend Lead — Selected

  6. 06

    Why Agoda?

    I was asked about my motivation for wanting to join Agoda.

    From Agoda interview experience - Staff Backend - July 25

  7. 07

    Relocation Motivation (Bangalore to Bangkok)

    I was asked to explain my reasons and motivation for relocating from Bangalore to Bangkok.

    From Agoda interview experience - Staff Backend - July 25

  8. 08

    Behavioral Questions (Mentorship, Mistakes, Conflict)

    A series of behavioral questions covering topics such as mentorship, learning from past mistakes, experimenting with new ideas, navigating trade-offs, and handling workplace conflicts.

    From Agoda Bangkok interview experience, Staff Software Engineer July-Aug 2025

Agoda other questions

  1. 01

    Code Review for Booking API

    Review a basic implementation of a booking API and provide corrections or suggestions for improvement.

    From Agoda Bangkok interview experience, Staff Software Engineer July-Aug 2025

  2. 02

    Build a Flashcard Application

    Design and implement a flashcard application.

    From Agoda Full Stack Engineer Interview Experience

  3. 03

    Implementation of Design Patterns (Strategy, Singleton, Factory)

    After discussing the design patterns I'd used in my projects, the interviewer asked me to implement specific design patterns: Strategy, Singleton, and Factory.

    From Agoda | SSE | Gurgaon | Reject

  4. 04

    Find Customer with Most Orders (SQL)

    Write an SQL query to find the customernumber for the customer who has placed the largest number of orders. Orders table: +---------------+-----------------+ | ordernumber | customernumber | +---------------+-----------------+ | 1 | 1 | | 2 | 2 | | 3 | 3 | |…

    From Agoda | 6 yrs experience | Bangkok

Agoda interview questions FAQ

What questions are asked in Agoda interviews?

Candidates reported 85 distinct questions across 28 Agoda interviews. 45 coding and DSA questions, 28 system design questions, 8 behavioural and HR questions, 4 other questions.

Which Agoda interview questions are asked most often?

The most repeated are "Design a Location Sharing App" (2 times), "Design WhatsApp" (2 times).

How difficult are Agoda interview questions?

Of the questions candidates rated, 25% were easy, 63% medium and 13% hard.