Agoda interview experience Real time questions & tips from candidates to crack your interview

Senior Software Engineer

Agoda
upvote
share-icon
4 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
Prepare Medium Coding Questions from Leetcode Coding - Discuss or explain the approach to interviewer. Once he agrees, then start coding. Sometimes coding questions are basic but not from leetcode System Design Concepts like Consistent Hashing, Try Using Caching, Try to minimize latency.
Application story
Applied through Careers of Agoda website Recruiter contacted and explained about team After confirmation that I am interested. Process started
Why selected/rejected for the role?
Got selected with feedback that problem solving and coding skills are very much good. System design approaches are also very good
Preparation
Duration: 2 Months
Topics: Coding - Data Structures Stacks, Heaps, Trees, System Design Concepts - Kafka when to use it, SQL DB Concepts - When and Why to use it, Load Balancers - ALB, NLB concepts
Tip
Tip

Tip 1 : Leetcode medium problems are enough
Tip 2 : Target different approaches like binary search, Sliding window etc
Tip 3 : System Design Concepts

Application process
Where: Other
Eligibility: Good hands on DS/Algo, problem solving, system design
Resume Tip
Resume tip

Tip 1 : Try to keep one page resume.
Tip 2 : Highlight your key skills
Tip 3 : If worked in multiple orgs in past put only one project each

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 Minutes
Interview date13 Dec 2022
Coding problem1

- Asked 2 problems both were from leetcode
- Intitally interviewer explained that he'll ask only one problem and if time left he'll ask another problem. 
- Since first problem solved in 15 mins, he asked next problem

1. Task Scheduler

Moderate
35m average time
65% success
0/80
Asked in companies
UberFacebookOracle

A ninja needs to complete ‘n’ tasks. Each task is represented by an uppercase letter of the English alphabet. Different letters are assigned to different tasks. A ninja can complete tasks in any order. He takes one unit of time to complete one task. For each unit of time, he could complete either one task or just be idle.

Ninja easily gets bored by doing the same task again. So he decided to keep at least ‘t’ units of time between any two same tasks.

You are given a string ‘tasks’ consisting of ‘n’ uppercase letters of the English alphabet, representing the tasks ninja need to complete, and an integer ‘t’ representing the least units of time between any two same tasks. Find out the minimum total units of time ninja will take to complete all ‘n’ tasks.

Problem approach

Step 1 : This problem I already solved before.
Step 2 : Explained him the heap based approach and coded in Java using PriorityQueue
Step 3 : He understood the solution and asked me to code
Step 4 : After running working solution, he asked me to test with different test cases
Step 5 : He then asked time complexity

Try solving now
02
Round
Medium
Online Coding Interview
Duration60 Minutes
Interview date13 Dec 2022
Coding problem1

Coding Round, Question asked from leetcode

1. Minimum Window Subsequence

Hard
27m average time
0/120
Asked in companies
AmazonNagarro SoftwareTummee

You are given two strings ‘S’ and ‘T’. Your task is to find the minimum (Contiguous) substring ‘W’ of ‘S’, such that ‘T’ is a subsequence of ‘W’

A subsequence is a sequence that can be derived from another sequence by removing zero or more elements, without changing the order.

A substring is a contiguous part of a string.

For example:
For the given string “CodingNinjas”: “Ninja” is a substring while “dinas” is a subsequence. 

If there is no such Window in ‘S’ that covers all characters in ‘T’, return an empty string "". If there are multiple such minimum length windows, return the one with the smallest starting index.

Problem approach

Step 1 : I first used Hashmap to count the occurence of each letter in target string
Step 2 : Then Using sliding window concept I tried to find the subsequence
Step 3 : On each finding, I was capurting results for smallest window size
Step 4 : I explained the approach to inteviewer
Step 5 : After that I did coding and ran the code
Step 6 : At the end, interviewer asked time complexity which was O(N)

Try solving now
03
Round
Medium
Video Call
Duration60 Minutes
Interview date15 Dec 2022
Coding problem1

Interviewer gave problem statement where he mentioned to design different components

1. System Design Question

- There are different datacenters where the logs of application were getting stored
- Now, org is thinking to maintain datalake of these logs in which the logs from different data centers will be stored at one datacenter

Problem approach

Tip 1 : First I asked the scale of logs like how many logs are getting stored every minute to findout scale
Tip 2 : Then I asked How these logs are currently stored in datacenters currently. I tried to understand the system in a more clear way.
Tip 3 : I used Messaging queue to parallely fetch logs and send to the target data center.
Tip 4 : Then the further question was how we will be storing in data center. For this, we discussed the concept of DB sharding and consistent hashing

04
Round
Medium
Video Call
Duration60 Minutes
Interview date17 Dec 2022
Coding problem1

Interview was hiring manager and asked system design question

1. System Design Question

Given a system which has multiple different servers running multiple test cases parallely. But on closely looking at system we found a fault that some systems are under utilized and some are under utilized

Problem approach

Tip 1 : I tried to understand the system more like how requests are being sending to different servers
Tip 2 : Then I gave one approach to add load balancer to distribute requests equally
Tip 3 : Interviewer asked to discuss pros/cons of this.
Tip 4 : We discussed the security concern and to handle that we can use Network load balancer instead of Application load balancer
Tip 5 : Then we discussed the increase in latency because the requests are going through one extra system
Tip 6 : To overcome this we then discussed the consistent hashing at producer level to equally send request among multiple servers.
Tip 7 : This round was all about discussing different approaches and finding pros/cons of each system

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3319 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 views
0 comments
0 upvotes
Frontend Engineer
4 rounds | 4 problems
Interviewed by Agoda
177 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Senior Software Engineer
1 rounds | 6 problems
Interviewed by Arcesium
3734 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 3 problems
Interviewed by Ernst & Young (EY)
4983 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 3 problems
Interviewed by HCL Technologies
3013 views
3 comments
0 upvotes