Design follow/follower classes
Company: Uber
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Technical Screen
Quick Answer: This question evaluates object-oriented design and data-structure modeling skills for directed graphs, testing competency in representing follow relationships, supporting efficient bidirectional queries, ensuring consistency and idempotence of mutators, and reasoning about scalability and hot-key follower skew.