InterviewLegend

Cleaning Up Working Code in the Refactoring Round

Alex Chen14 min readGuide updated

Most coding interviews start from a blank editor. This one starts from someone else's mess. A senior candidate in Mexico City described a March 2026 round as live coding on a production problem. In the candidate's words, it was "ugly code that needs to be organized; there is a lot that can be fixed and there isn't time for everything." The code runs. Your job is to leave it better, and to choose which parts of it get better in the hour you have.

Zillow treats this as a round of its own. Its interview prep page for software engineers lists four pieces: a STAR behavioral, system design, greenfield coding and a video called Refactoring Code, which promises "strategies on refactoring and maintaining code in your interview." Candidates have reported the round in every year from 2023 to 2026, more often than any single named coding problem in the current loop.

The Zillow angle
This round tests judgment under a clock. You can't fix everything, so the order you pick says more than any single fix. Catch the real bug, protect behavior with tests, and leave a short spoken list of what you'd do next.
What's inside
  • 6 sections
  • about 14 min

Premium lessonZillow interview guide

These took digging.

What candidates walked out with, from 21,000+ reports, forum threads behind logins and write-ups in Chinese. Then solved step by step.

122 companies. Checked every month.

Get the Zillow questions

$49 a year · less than $1 a week · Instant access

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.