Skip to content

Commit 047b2b2

Browse files
authored
Add note to binary-tree exercise about duplicate values (#2790)
Just a small note to clarify a minor point of confusion with the exercise.
1 parent f374020 commit 047b2b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/smart-pointers/exercise.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ minutes: 30
77
A binary tree is a tree-type data structure where every node has two children
88
(left and right). We will create a tree where each node stores a value. For a
99
given node N, all nodes in a N's left subtree contain smaller values, and all
10-
nodes in N's right subtree will contain larger values.
10+
nodes in N's right subtree will contain larger values. A given value should only
11+
be stored in the tree once, i.e. no duplicate nodes.
1112

1213
Implement the following types, so that the given tests pass.
1314

0 commit comments

Comments
 (0)