Applications of Cartesian Product
Sometimes we need to determine every combination of sets of items. This cross/unrestricted-join is known as a Cartesian or cross product. For example, determin all combinations of drink sizes, add-ons, and coffee type from a Starbucks.
sizes = ['Sh...
wind010.hashnode.dev2 min read