Skip to main content

Nested Comments (System Design)

Problem 18advanced22 mins

Nested Comments (System Design)

Created on: 31 Aug 2025, 3:15 PM

Time Elapsed
00:00
Problem Description

Create a nested comment system similar to Reddit with unlimited nesting levels, voting, and replies.

Requirements

  • •Unlimited nesting
  • •Add replies
  • •Upvote/downvote
  • •Edit/delete comments
  • •Collapse/expand threads
  • •Sort by votes/time

Tags

ReactSystem DesignRecursionState Management
Code Editor

Loading editor...