Agoda Round 1: Staff Interview Question

Posted
3 Sept 2026
147 reads

Summary

I interviewed for a Staff position at Agoda and was asked two coding questions.

How it went

  1. Find pivot element from a given array, all elements towards left are smaller and all elements towards right are greater than pivot.
  2. 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.

Questions asked (2)

  1. 01

    Find Pivot Element in Array

    Data Structures & Algorithms

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

  2. 02

    Calculate Molecular Weight from Chemical Formula

    Data Structures & Algorithms

    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.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Agoda recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!