← Booking.com questions
CodingReported in a candidate post, Jun 2025

Build CRUD APIs and find closest hotels

Filed under Booking.com

The question

Using a Spring Boot template with an H2 database containing Hotel and City entities, build basic CRUD APIs for the Hotel entity and write an API that returns the 3 closest hotels from a given city using the Haversine formula.

No write-up yet. Related questions below have one.

Related Booking.com questions

Collected from public candidate posts and coding forums. Updated Nov 2026.