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.| The Code Ship
This is an article in a series on Cryptography for the Everyday Developer. Follow along to learn the basics of modern cryptography and encryption. A block cipher is a type if cipher that combines an encryption/decryption algorithm that works on blocks of data with a mode of operation that details the techniques to process sequences of data blocks. While many different block cipher algorithms exist, they all share a common structural design: they apply a series of transformations — known as ...| Kevin Sookocheff
Kth Permutation Sequence Write a script to accept two integers n (>=1) and k (>=1). It should print the k-th permutation of n integers. For example, n=3 and k=4, the possible permutation sequences are listed below: 123 132 213...| E. Choroba
It is commonplace for frequent users of the Internet to have multiple online accounts that require passwords. Advice and guidelines abound on the Internet on picking safe and strong passwords. They…| All Math Considered
This post works with 5-card Poker hands drawn from a standard deck of 52 cards. The discussion is mostly mathematical, using the Poker hands to illustrate counting techniques and calculation of pro…| All Math Considered
This is the fourth post in a series of posts on combinatorial analysis. The post is opened with the following problem. This post builds on the previous post on binomial coefficients. Figure 1 ̵…| All Math Considered
This is the third post in a series of posts on combinatorial analysis. The post is opened with the following problem. Figure 1 Path Problem Point Q is 7 blocks east and 6 blocks north of Point P (s…| All Math Considered