This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Working on a project for work and I seem to be stuck on a concept. Basically I have 3 lists and want to return all possible combinations between them.
List 1 can have meta things. Like retail, wholesale (just examples but definitely more than just 2).
List 2 has a multiple categories in it. Like Shirts, jeans, socks. Etc. Each categories has a unique identifier. S for shirts, J for jeans. Etc
List 3 contains other misc info. Like taxable, nontax.
In theory I could have more lists but let's stick with this for now.
I need a list of all possible combinations between the lists. Ex: retail, shirt, taxable. Retail l, shirt, nontax. Whole, shirt, taxable, whole, shirt, nontax.
For some reason I was thinking of laying the data out like a binary tree and traversing to get all possible options for each thing from List A but that's not working in my brain.
Just curious as what methods you guys would go with? Working out of vb.net
Subreddit
Post Details
- Posted
- 7 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/AskProgramm...