Generating sample data based on the combination of specific parameters and options is a common use case. In this post, I illustrate utilizing a simple recursive approach for generating all possible combinations from input into a dataset.
| CARVIEW |
Select Language
HTTP/2 301
server: nginx/1.10.3 (Ubuntu)
date: Fri, 16 Jan 2026 18:37:18 GMT
content-type: text/html
content-length: 194
location: https://www.thecodeship.com/algorithms/
strict-transport-security: max-age=15768000; includeSubdomains; preload
x-frame-options: DENY
x-content-type-options: nosniff
HTTP/2 200
server: nginx/1.10.3 (Ubuntu)
date: Fri, 16 Jan 2026 18:37:18 GMT
content-type: text/html
last-modified: Fri, 19 Jun 2020 06:35:58 GMT
etag: W/"5eec5cce-2db4"
strict-transport-security: max-age=15768000; includeSubdomains; preload
x-frame-options: DENY
x-content-type-options: nosniff
content-encoding: gzip
The Code Ship
Exercise: Alien Language Pattern Matching
As part of my programming workout I was going through some nice Google code jam exercises and came across an interesting exercise from the 2009 qualification round related to matching words against patterns. Not hard but interesting to solve.
© Copyright 2020 Ayman Farhat. Custom theme built with Pelican. Fork me on Github!
Topics
Subscribe via