Design follow/follower classes

Quick Overview

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.

Design follow/follower classes

Company: Uber

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

Overview: 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.

|Home/Software Engineering Fundamentals/Uber
Uber logo
Uber
Mar 1, 2026
mediumSoftware EngineerTechnical ScreenSoftware Engineering Fundamentals
40
0
Loading...
Loading comments...