InterviewDB Experience

Home Feed Scroll: Implement Virtualized Rendering for a High-Volume Home Feed

Interview Experience

Problem A home feed can have thousands of posts. Rendering all DOM nodes at once causes severe performance problems. Implement a virtualized list that only renders the posts currently visible in the viewport, plus a small buffer above and below. Requirements: Only N visible items + 5 buffer items above and below are in the DOM at any time. Scroll position must feel native. Follow-ups How do you calculate which item indices are visible given scrollTop and containerHeight? How do you maintain scro…

Full Details

🔒

Unlock all Nextdoor questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a candidate experience report from a nextdoor interview during the phone round.

It covers the following topics: Frontend, Phone, Coding, Arrays, Onsite .