diff options
| author | Jörg Sommrey <28217714+jo-37@users.noreply.github.com> | 2023-12-10 21:46:55 +0100 |
|---|---|---|
| committer | Jörg Sommrey <28217714+jo-37@users.noreply.github.com> | 2023-12-10 21:46:55 +0100 |
| commit | ba2f22332a438fb743e1b5ca95a9dee34b6f5ba0 (patch) | |
| tree | 359203b2b5efb39a095f6ae3418122e5a8aa0991 /challenge-202 | |
| parent | 49b10a9241c48a7865fc5da4ab43560d67009aad (diff) | |
| download | perlweeklychallenge-club-ba2f22332a438fb743e1b5ca95a9dee34b6f5ba0.tar.gz perlweeklychallenge-club-ba2f22332a438fb743e1b5ca95a9dee34b6f5ba0.tar.bz2 perlweeklychallenge-club-ba2f22332a438fb743e1b5ca95a9dee34b6f5ba0.zip | |
move blog to GH pages
Diffstat (limited to 'challenge-202')
| -rw-r--r-- | challenge-202/jo-37/blog.txt | 1 | ||||
| -rw-r--r-- | challenge-202/jo-37/ch-202.md | 33 |
2 files changed, 0 insertions, 34 deletions
diff --git a/challenge-202/jo-37/blog.txt b/challenge-202/jo-37/blog.txt deleted file mode 100644 index 3578dee2d1..0000000000 --- a/challenge-202/jo-37/blog.txt +++ /dev/null @@ -1 +0,0 @@ -https://github.com/jo-37/perlweeklychallenge-club/blob/master/challenge-202/jo-37/ch-202.md diff --git a/challenge-202/jo-37/ch-202.md b/challenge-202/jo-37/ch-202.md deleted file mode 100644 index d9e5420ee0..0000000000 --- a/challenge-202/jo-37/ch-202.md +++ /dev/null @@ -1,33 +0,0 @@ -# Sequential adjacent consecutive second-next neighbors - -**Preface:** -I wrote this text *after* I submitted my solution to the week 202's challenge *and* I looked throught all other solutions that were submitted so far. - -I was surprised to see other interpretations of task 1 that I hadn't thought about. To restate: - -> Write a script to print 1 if there are THREE consecutive odds in the given array otherwise print 0. - -Sounds clear: three consecutive odds. But wait: What is the meaning of "consecutive"? -I interpreted this as "three odd numbers consecutive in the list". Another valid interpretation would be: "three consecutive odd numbers contained in the list". Something completely different! - -An example for my interpretation: - - 2, 4, 9, 3, 7, 22 -has three consecutive odds: 9, 3, 7. - -On the other hand: - - 4, 9, 2, 11, 6, 7 -has three consecutive odds: 7, 9, 11. - -I refuse to interpret the task as: three consecutive consecutive odds, i.e. - - 2, 3, 5, 7, 8 - -regarding as valid but refusing - - 7, 2, 5, 8, 3 - -*and* - - 2, 7, 3, 5, 8 |
