Implement a Followable Microblog Timeline

Read the full interview experience this question came from →

Quick Overview

Implement an in-memory microblog with posting, following, unfollowing, and a newest-first timeline capped at ten visible tweets. Respect current follow state, permanent self-visibility, idempotent relationship changes, long histories, and the cost of serving users with many followed accounts.

Implement a Followable Microblog Timeline

Company: Pinduoduo

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: Implement an in-memory microblog with posting, following, unfollowing, and a newest-first timeline capped at ten visible tweets. Respect current follow state, permanent self-visibility, idempotent relationship changes, long histories, and the cost of serving users with many followed accounts.

Read the full Pinduoduo Software Engineer interview experience this question came from

Pinduoduo logo
Pinduoduo
Jul 26, 2026
mediumSoftware EngineerTechnical ScreenCoding & Algorithms
4
0
Loading...