Cleaning Up Working Code in the Refactoring Round
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.
- 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 guideKnow what Zillow asks before you walk in.
28 coding · 4 system design · 22 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.