The original instructions call to return a set of Date types that are sorted chronologically. However, a "set" by definition is a collection of items that are: unordered, unchangeable, and unindexed. Therefore, the program was modified to return a sorted list instead.
The original instructions call to return a
set
of Date types that are sorted chronologically. However, a"set"
by definition is a collection of items that are:unordered
,unchangeable
, andunindexed
. Therefore, the program was modified to return asorted list
instead.Nicely done.