Data Permutations

Job ID: 32543674

Budget: $30 – $250 USD

We have a new warehouse that is split into Aisles Bays Levels and Depths , ie 4 parameters determine each location.

Aisles are given a single letter, such as B.

Bays are given a number, such as 02 or 33 (note the leading zero for a bay below 10).

Levels are L and a number (less than 10), such as L3.

Depths are D and either a 1 or a 2, eg D1 or D2.

So we get locations like C04L2D2 (aisle C, bay 04, level 2 depth 2) or D24L4D1 (Aisle D, bay 24, Level 4, depth 1).

We dont need leading zeros for level or for depth because these are always a single digit. Bays can go up to 45, so we add a leading "0" if less than 10.

We know for each aisle how many bays there are, how many levels and if there is just one depth (D1 only) and 2 depths (D1 and D2).

What we want is the list of all the possible locations. Essentially the task is to generating the permutations. We will then upload the list into a database.

Aisle A

45 bays, 4 levels and 2 depths, so 45 x 4 x 2 = 360 permutations starting A01L1D1 ending A45L4D2.

Aisles B and C

each have 41 Bays 4 levels and 2 depths (

Aisles D, E and F

each have 41 bays, 5 levels and 2 depths

Aisles G, H, I

each have 28 bays 5 levels and 2 depths

Aisle J

32 bays 4 levels 1 depth

The output should be a single column of the aisle names with 3214 rows.

The spreadsheet enclosed shows the number of locations per aisle and in total. If you dont agree, one of us is wrong !