Guest User

Untitled

a guest
Jul 16th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. given a hash like
  2. {:property1 => [1,2,3,4,5], :property2 => [1,2,3,4,5]}
  3. how to iterate through all the keys
  4. and their values to create all possible combinations of each property
  5. given an infinite number of keys where each key's value is an array of possible values
Add Comment
Please, Sign In to add comment