We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
For example, defining two sets: A = {a, b} and B = {5, 6}. Both set A and set B consist of two elements each. Their Cartesian product, written as A × B, results in a new set which has the following elements: A × B = {(a,5), (a,6), (b,5), (b,6)}.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Basics of Sets and Relations #4
You are viewing a single comment's thread. Return to all comments →
For example, defining two sets: A = {a, b} and B = {5, 6}. Both set A and set B consist of two elements each. Their Cartesian product, written as A × B, results in a new set which has the following elements: A × B = {(a,5), (a,6), (b,5), (b,6)}.