/petals-around-the-rose

Swift Command Line Implementation of the petals around the rose puzzle using some functional programming techniques

Primary LanguageSwift

petals-around-the-rose

Swift Command Line Implementation of the petals around the rose puzzle using some functional programming techniques

$ ./petals 1 2 3 4 5 6

Petals Around the Rose இڿڰۣ-ڰۣ—

Calculating: [1, 2, 3, 4, 5, 6]

The solution is 6.