You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
289 B
6 lines
289 B
|
|
Exercise 3.17: Devise a correct version of the
|
|
count-pairs procedure of Exercise 3.16 that returns the number of
|
|
distinct pairs in any structure. (Hint: Traverse the structure, maintaining an
|
|
auxiliary data structure that is used to keep track of which pairs have already
|
|
been counted.)
|
|
|