Problem database last updated: June 20, 2025

BBooking.com logo

Booking.com Coding Interview Questions

15 problems · 4 Easy, 8 Medium, 3 Hard · Ranked #110 of 458

Difficulty breakdown

4 Easy

27% · avg 23%

8 Medium

53% · avg 59%

3 Hard

20% · avg 18%

Top topics

array
66.7%
string
46.7%1.7x
hash-table
40%1.8x
heap-priority-queue
26.7%4.4x
matrix
26.7%3x
sorting
20%

Interview profile

Based on 15 reported problems, Booking.com interviews are in line with industry averages - 20% Hard vs 18% overall. The majority (53%) of questions are Medium difficulty, which is typical for companies that want to see solid fundamentals without excessive trick questions.

Compared to the industry average, Booking.com puts unusual emphasis on heap-priority-queue (26.7% of problems, 4.4x the industry average), matrix (26.7% of problems, 3x the industry average), breadth-first-search (20% of problems, 2.4x the industry average). If you're short on time, these are the categories to double down on.

The most common topics are array (66.7%), string (46.7%), hash-table (40%), heap-priority-queue (26.7%). Problems below are sorted by frequency, the ones at the top are asked most often.

All 15 problems

Reward Top K Students

Solve

You are given two string arrays positivefeedback and negativefeedback, containing the words denoting positive and negative feedback, respectively. Note that no...

MediumVery Likely
arrayhash-tablestring

Delete Duplicate Folders in System

Solve

Due to a bug, there are many duplicate folders in a file system. You are given a 2D array paths, where paths[i] is an array representing an absolute path to the...

HardVery Likely
arrayhash-tablestring

Sliding Window Maximum

Solve

You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see...

HardVery Likely
arrayqueuesliding-window

Coloring A Border

Solve

You are given an m x n integer matrix grid, and three integers row, col, and color. Each value in the grid represents the color of the grid square at that locat...

MediumVery Likely
arraydepth-first-searchbreadth-first-search

Two Out of Three

Solve

Given three integer arrays nums1, nums2, and nums3, return a distinct array containing all the values that are present in at least two out of the three arrays....

EasyVery Likely
arrayhash-tablebit-manipulation

K Highest Ranked Items Within a Price Range

Solve

You are given a 0-indexed 2D integer array grid of size m x n that represents a map of the items in a shop. The integers in the grid represent the following:

MediumVery Likely
arraybreadth-first-searchsorting

Reconstruct Itinerary

Solve

You are given a list of airline tickets where tickets[i] = [fromi, toi] represent the departure and the arrival airports of one flight. Reconstruct the itinerar...

HardLikely
arraystringdepth-first-search

Integer to Roman

Solve

Seven different symbols represent Roman numerals with the following values:

MediumLikely
hash-tablemathstring

Maximal Square

Solve

Given an m x n binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area.

MediumLikely
arraydynamic-programmingmatrix

Permutations

Solve

Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order.

MediumLikely
arraybacktracking

Backspace String Compare

Solve

Given two strings s and t, return true if they are equal when both are typed into empty text editors. '' means a backspace character.

EasyLikely
two-pointersstringstack

LRU Cache

Solve

Design a data structure that follows the constraints of a Least Recently Used (LRU) cache.

MediumLikely
hash-tablelinked-listdesign

Valid Parentheses

Solve

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

EasyLikely
stringstack

Number of Islands

Solve

Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands.

MediumLikely
arraydepth-first-searchbreadth-first-search

Roman to Integer

Solve

Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.

EasyLikely
hash-tablemathstring

How often are these problems asked?

Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Booking.com interviews.

Very Likely

75-100%

Likely

50-74%

Sometimes

25-49%

Rare

0-24%

Preparing for your Booking.com coding interview

Booking.com interviews focus heavily on array, string, hash-table problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.

Beyond solving problems, practice explaining your approach. Booking.com interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.

Looking for more companies? Browse all 458 companies in our directory, or sharpen your fundamentals with our free data structure visualizers and AI-powered DSA tutor.

Frequently Asked Questions

What coding problems does Booking.com ask in interviews?add

Booking.com has been reported to ask 15 distinct coding problems. The most common topics are array, string, hash-table. 4 are Easy difficulty, 8 are Medium, and 3 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.

How hard are Booking.com coding interviews?add

Based on 15 reported problems, Booking.com interviews are in line with industry averages - 20% Hard vs 18% overall. 53% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.

How should I prepare for a Booking.com coding interview?add

Start with the highest-frequency problems listed on this page. Focus on the core topics: array, string, hash-table. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.

Other companies to explore

Ready to ace your Booking.com interview?

Simulate a real Booking.com coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.

Simulate a Booking.com interview with AIarrow_forward