ekittell
BAN USER- 0of 0 votes
AnswerI recently had an generous offer that I turned that based mainly on my answer to this question in PHP.
- ekittell in United States
Write an algorithm to generate all possible combinations of a product code based on all available product options. Each option has a code/slug that make up the product code. For example shoes:
style: 001, 002, 003, etc...
color: red, blue, white, etc...
size: 7,8,9,10,etc...
gender: m,f
etc: etc...| Report Duplicate | Flag | PURGE
Software Engineer / Developer - 0of 0 votes
AnswersI recently had a generous job offer based mainly on my answer to this question in PHP.
- ekittell in United States
Write an algorithm to generate all possible combinations of a product code based on all available product options. Each possible option value has a code/slug that make up the product code. For example, shoes:
style: 001, 002, 003, etc...
color: red, blue, white, etc...
size: 7,8,9,10,etc...
gender: m,f
etc: etc... number of options and possible values for each option have to be flexible, though pretty finite
first combination: shoes001red7m
I used a few loops inside loops, 4 I believe, I don't remember now.| Report Duplicate | Flag | PURGE
Software Engineer / Developer Algorithm
Repaaronlustera, Android test engineer at Absolute Softech Ltd
My job is to help groups of people work together better, understand their common goals, and plan to achieve those ...