Write program to find Power set of given a set in Scala.

preview_player
Показать описание
Find the power set of a given set
Example: -
a. Set(a, b) === power set : {}, a, b, {a, b}
b. Set(a, b, c) === power set : {}, a, b, c, {a, b}, {b, c}, {c, a} and {a, c, b
Рекомендации по теме