Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hard/32_generate_div_tags/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Write a function that takes in a positive integer numberOfTags and returns a lis

A string is valid and contains matched <div></div> tags if for every opening tag <div>, there is a closing tag </div> that comes after the opening tag and that isn't used as a closing tag for another opening tag. Each output string should contain exactly numberOfTags opening tags and numberOfTags closing tags.

For example, given numberOfTags = 2, the valid strings to return would be: ["<div></div><div></div>",
For example, given numberOfTags = 2, the valid strings to return would be:
```
"<div><div></div></div>"].
["<div></div><div></div>", "<div><div></div></div>"].
```

Note that the output strings don't need to be in any particular order.
Expand Down