blob: 1d82ee775f54f90e4195cdc022a5651e2d97a024 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
Solution by Ruben Westerberg
ch-1.pl and ch-1.raku
===================
Flip binary
Run program to find largest number of 1's in binary number, after a select sub set has been flipped. Accepts 1 optional argument, which is is the number of digits in the (random) number to test.
3 is the default
ch-2.pl and ch-2.raku
===================
Computes all the wave arrays for a given integer array. Accepts a single arbument which is the size of the array. Default is 4
|