alteryx Community

# Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
###### IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SOLVED

## Challenge #159: April ENcyptanalytics

7 - Meteor

Spoiler

Made my Monday,  Thanks for this one.

Best,

Abi

16 - Nebula

Solution attached.

Spoiler
Workflow
8 - Asteroid

my solution:

Spoiler
Alteryx Alumni (Retired)

@estherb47,  I had to look it up, but was definitely worth the giggle!

https://vimeo.com/107786640

Thanks!

13 - Pulsar

Wow, this one was super fun.

First, I started out with some investigation of the data from Challenge 155:

Spoiler

* Oddly enough, the A (capital A, code 65) did not occur at all in the challenge 155 data??

* For each position within the string, the correct character occurred in that position about 5x as frequently as any other character (for example, character 1 was the correct character about 5% of the time, while other characters occurred about 1% of the time)

My solution:

Spoiler
I built an app that receives a string and number of sample strings from the user:

The outer workflow checks to make sure the user has selected a number of strings that is at least 10x the length of the string.

If the number of strings is appropriate, then the macro runs. This is a separate macro 1) to prevent running the Simulation Sampling tool unless the number of strings passes the 10x test, and 2) to allow the user to dynamically input the number of iterations (strings).

The macro creates [number of strings] * [length of input string] random characters, from 32 to 130. If the random character is between 32 and 126, the related ASCII character is used. If the random character is between 127 and 130, then the correct character for the position is used (giving the correct character 4 additional "chances").

The Simulation Sampling tool seems slower vs. using Generate Rows to create the number of characters with a Formula tool to generate the random character.

Also, the Simulation Sampling tool doesn't allow a uniform discrete distribution (it only has the option for a uniform continuous distribution). I compensated by sampling between 32.0 and 130.999999 and rounding down to the nearest integer.

Finally, example output:

Spoiler

8 - Asteroid

My solution:

Spoiler
11 - Bolide

I remember challenge (#155) and that was fun.

This one was tough though, so my solution ain't pretty, but I got to the result in the end

Spoiler
So I hade the same idea as many others, to create some random data, and make sure, that the string we actually want to hide, is having the most occurrences.

Well, after some time back and forth, I ended up with this.
My WorkflowIt ain't pretty but it works.

After I made it, I looked at some of the other solutions, and then I was ashamed, so I didn't even bother to make this as an app 😢

But it was still fun after all 😳

Still Climbing

/Verakso

Alteryx Alumni (Retired)

Hi @Verakso,

You solved it!  You shared it!  We all learn!

I've gotta admit I've learned and improved my solution based on other solutions as well!

It's what makes Alteryx Community great!!!  <3

Thanks!

Terry T

17 - Castor

Interesting Challenge

12 - Quasar

Solution attached.