InterviewLegend

Hash Maps, LRU Caches & Intervals

Alex Chen40 min readGuide updated

These four problems come from Zillow loops in 2022 and 2023, mostly intern and mobile rounds, with a few repeats going back further. Zillow's standard software engineer loop has since moved to practical work, a greenfield build and a refactoring round, which the coding overview walks through. Interviewers still have leeway, though, and classic problems kept turning up in intern, mobile and machine-learning loops.

A 2023 Blind thread about Zillow's practical rounds gave advice that still fits them. Know your language's string functions, its maps and its sets, and handle the edge cases. A second reply compared the hash-map questions to a Premium question. Every problem below drills one of those habits, so the practice carries over even if your round is a greenfield build.

The Zillow angle
Leave time to test your own code. In an October 2022 phone screen on the LRU cache, the candidate spent about 30 minutes coding, 10 on tests they wrote themselves and 10 optimising with the interviewer. They passed. Plan your hour the same way.

ZillowPremium lesson · Coding round

The 4 Zillow problems are below.

  1. A Premium questionCoding · Medium
  2. A Premium questionCoding · Medium
  3. A Premium questionCoding · Medium

+ 1 more in this lesson

Each with hints, the follow-up and a tested solution.

Get the Zillow questions

$49 a year · all 122 companies · instant access

21,000+ candidate reports

Zillow interview guide

Know what Zillow asks before you walk in.

28 coding · 4 system design · 22 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Zillow interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.