Last week's solution can be found here.
This week's solution is working to permute some data! This challenge is derived from an question asked by @iellingsonbg, and was solved by the illustrious @MarqueeCrew. @MarqueeCrew then messaged us letting us know a great challenge was available that we should tackle! If you ever have a great challenge of your own or see another problem around the Community worth tackling, let us know!
As for the challenge itself, we are presented the options (tools). What we would like to do is determine all the combinations these tools can exist in an 'on/off' state. For three options we can see the following combinations. Note that the end result data is not formatted this way, but simple formatted here for ease of understanding.
| Browse | Input | Output |
| Off | Off | Off |
| Off | Off | On |
| Off | On | Off |
| Off | On | On |
| On | Off | Off |
| On | Off | On |
| On | On | Off |
| On | On | On |
If you want to take a more difficult route, try to setup your workflow where it would be dynamic to handle more than three tool options and more toggle options than on/off!