Chapter 43
Home Coding Interview
Home assignments are a lazy filter, but they're not going away. So let's be smart about them.
Note: In this chapter I will refer to the real tech task one big hotel booking (🤫) company gave me. The original was 4 pages. Here's the summary:
Build an API endpoint that takes a search query (location, dates, price range) and returns a list of hotels sorted by average review rating, highest first. Hotels and reviews come from two separate in-memory data sources. Each hotel in the response includes basic info plus all its reviews.
Use AI, but Be Ready to Defend Every Line
Part of the full course
Unlock this chapter
This one is part of the paid course. Everything before the interview, the free sampler articles, the Core Java drills, and mock interviews stay open either way.