Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEA
A solution to last week’s challenge can be found here.
This challenge was submitted by our ACE Ippei Nakagawa, @gawa. Thank you, Gawa, for your submission!
In this week’s challenge, your task is to detect transactions that may indicate money laundering. Money laundering schemes often follow a circular pattern, such as:
These transactions form a loop, and your goal is to identify such suspicious loops in the dataset.
To qualify as potential money laundering, a group of transactions must meet all the following criteria:
Once you have completed your challenge, include your solution file and a screenshot of your workflow as attachments to your comment.
The Academy Team
Source: Randomly generated dataset using Python.
@AYXAcademy - When I click Download Start File, it brings up Cloud_Quest_25_Start.json. Is that right?
**Update**
Glad the input was fixed up. Here's my solution. Took me awhile to get there and I'm sure there's a more elegant solution, but I'm not elegant today.
Tough challenge. I made the classic mistake and got a bit mixed up with all the different IDs, but got there in the end. Liked the use case too, great fun!
Macro:
Thank you, Gawa @gawa.
This was a tough challenge but a really good one!
I leveraged the approach from @abacon - thanks much for sharing it. This approach seemed to me a fairly simple and straightforward one. I realized the trick was to use Receiver as Sender for iteration to work in the end as the money had to return to the sender in a loop.
Iterative macro:
Really fun puzzle to solve, once I got my head round the logic.