reset password
Author Message
dan2430
Posts: 5
Posted 10:51 Apr 07, 2017 |

In methods for MySet such as subtract(), what should the method return if there are no unique values?

alope415
Posts: 12
Posted 11:27 Apr 07, 2017 |

Then you return a empty set.

An empty set is what is sounds like. Literally an empty set.

{}

^ This is an empty set. No values in it whatsoever.

https://en.wikipedia.org/wiki/Empty_set

dan2430
Posts: 5
Posted 11:41 Apr 07, 2017 |

Gotcha, thanks!

alope415
Posts: 12
Posted 11:46 Apr 07, 2017 |

No problem!