diff --git a/hws/08_youtube_comments/README.md b/hws/08_youtube_comments/README.md index a8d5c20..68827be 100644 --- a/hws/08_youtube_comments/README.md +++ b/hws/08_youtube_comments/README.md @@ -198,10 +198,12 @@ To summerize the rules, in this homework, no sorting is needed. ### Indentation -Just like youtube, we use indentations to display the tree structure of the comments. More specifically, a child comment should be indented by four space characters relative to its parent comment. Sibling comments should have the same identation. +Just like youtube, we use indentations to display the tree structure of the comments. The following image is an example from youtube: ![alt text](comments_indentation.png "comments indentation") +In this assignment, we define that a child comment should be indented by four space characters relative to its parent comment. Sibling comments should have the same identation. + ## Program Requirements & Submission Details In this assignment, you are required to maintain the comments in tree nodes, each comment should be stored in one tree node. You are NOT allowed to use any data structures we have not learned so far, but feel free to use any data structures we have already learned, such as std::string, std::vector, std::list, std::map, std::set, std::pair. **You must use recursion in your program in at least one of your functions.**