From 660aa0d53112d9ab5eaadef9f9399e497d5443db Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Tue, 31 Oct 2023 01:41:59 -0400 Subject: [PATCH] formatting --- hws/08_youtube_comments/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hws/08_youtube_comments/README.md b/hws/08_youtube_comments/README.md index c4b3d7d..f8b02e0 100644 --- a/hws/08_youtube_comments/README.md +++ b/hws/08_youtube_comments/README.md @@ -8,7 +8,7 @@ In this assignment you will develop a program to manage youtube comments, let's ## Background -A reddit user complained about this:[Why are YouTube comments not threaded like reddit comments? Why is there only one level of nestedness?](https://www.reddit.com/r/youtube/comments/8uei3n/why_are_youtube_comments_not_threaded_like_reddit/). +A reddit user complained about this: [Why are YouTube comments not threaded like reddit comments? Why is there only one level of nestedness?](https://www.reddit.com/r/youtube/comments/8uei3n/why_are_youtube_comments_not_threaded_like_reddit/). The complaint is saying that on reddit you will get a nested comment chain like this: @@ -28,7 +28,7 @@ A: This video is fake C: How can you be so dumb? ``` -Now, is C replying to B or to A? In fact, Youtube does manage their comments in trees, but they only allow the trees to have two levels: parent and children, but there are no grandchildren, and that's what this user refers to as "only one level of nestedness". In order to support multiple level of nestedness, we need to create trees with more than two levels, and that is what you do in this assignment, your goal is to write a program to make youtube display comments the better way, so users can see which comment is a reply to which comment. +Now, is C replying to B or to A? In fact, on YouTube, even if C relies to B, you will still get something like this. The problem is, YouTube does manage their comments in trees, but they only allow the trees to have two levels: parent and children, but there are no grandchildren, and that's what this user refers to as "only one level of nestedness". In order to support multiple level of nestedness, we need to create trees with more than two levels, and that is what you do in this assignment, your goal is to write a program to make youtube display comments the better way, so users can see which comment is a reply to which comment. If you are still not clear about this problem, try to reply to a comment on youtube, and make sure you reply to a comment which is already a reply to another comment.