HEADLINES
Welcome to the Week #196
of The Weekly Challenge
.
Welcome 2 new members
to the Team PWC
, Pip Stuart and Carlos Oliveira. They are both experienced Perl
hacker.
Advent Calendar 2022 is going on with full swing, thanks to the contributions by the members of Team PWC
.
Day |
Article |
Author |
1 |
Are Abecedarians from Abecedaria? | Adam Russell |
2 |
Binary String / Odd String | James Smith |
3 |
Counting Cute | Colin Crain |
4 |
Four is Magic | Alexander Pankoff |
5 |
Farey, Moebius | Arne Sommer |
6 |
Our Primes | Dave Jacoby |
7 |
Three means and big bases | Simon Green |
8 |
Pernicious / Weird Number | Cheok-Yin Fung |
9 |
Fortune and Pisani | Luca Ferrari |
10 |
Padawan Missing | Bruce Gray |
11 |
Factorions | Flavio Poletti |
12 |
Triangle Sum Path / Rectangle Area | W. Luis Mochan |
13 |
Capital test and ambiguous encoding | Peter Campbell Smith |
14 |
Days Together / Mask Code | Andinus |
15 |
Array Degree | E. Choroba |
16 |
Divisible Pairs / Total Zero | Jaldhar H. Vyas |
17 |
Digital Clock and Frequency Equalizer | Laurent Rosenfeld |
18 |
Odd Abundant Numbers | Ryan Thompson |
19 |
Zip List / Unicode makeover | Stephen G. Lynn |
Another week another achievement. Thank you Team PWC
for the support and encouragement.
Week |
Perl |
Raku |
Blog |
184 |
55 | 31 | 17 |
185 |
59 | 35 | 19 |
186 |
56 | 33 | 20 |
187 |
51 | 34 | 20 |
188 |
63 | 36 | 16 |
189 |
60 | 35 | 18 |
190 |
53 | 32 | 23 |
191 |
54 | 38 | 21 |
192 |
59 | 41 | 23 |
193 |
55 | 31 | 22 |
194 |
58 | 32 | 19 |
195 |
54 | 29 | 19 |
Last week, we had 35
regular contributors and 9
guest contributors. Thank you everyone for the support and encouragement.
Today, we are giving away Coupon #19
to Athanasius
for the book, Learning Perl Exercises by brian d foy
. I will share the details with you in a separate email.
Past Winners
S. No. |
Name |
S. No. |
Name |
1. | Cheok-Yin Fung | 2. | W. Luis Mochan |
3. | Robert DiCicco | 4. | Kueppo Wesley |
5. | Solathian | 6. | Dario Mazzeo |
7. | Peter Campbell Smith | 8. | Kjetil Skotheim |
9. | Neils van Dijke | 10. | Laurent Rosenfeld |
11. | Duncan C. White | 12. | Ali Moradi |
13. | Jorg Sommrey | 14. | James Smith |
15. | Alexander Pankoff | 16. | Simon Green |
17. | Robbie Hatley | 18. | Bob Lied |
19. | 20. | ||
21. | 22. | ||
23. | 24. | ||
25. | 26. | ||
27. | 28. | ||
29. | 30. | ||
31. | 32. | ||
33. | 34. | ||
35. | 36. | ||
37. | 38. | ||
39. | 40. | ||
41. | 42. | ||
43. | 44. | ||
45. | 46. | ||
47. | 48. | ||
49. | 50. |
I would like to thank every guest contributors for making it special every week. Last week we received 51 guest contributions
in 18 languages
.
With so much going on in the recent weeks, I hardly find time to contribute my solutions. I will try my best in coming weeks to get back on track.
TOP 10 Guest Languages
Do you see your favourite language in the Top 10
? If not then why not contribute regularly and make it to the top.
1. Python (1245)
2. Haskell (520)
3. Ruby (436)
4. Lua (421)
5. C (304)
6. C++ (304)
7. Rust (276)
8. BQN (267)
9. Go (233)
10. Java (211)
Blogs with Creative Title
1. Especially Frequent Even by Adam Russell.
2. Especially Even by Arne Sommer.
3. Special Speedy Frequency by Bruce Gray.
4. Well Ain’t That Special by Colin Crain.
5. Bags to the rescue! by Luca Ferrari.
6. Some numbers are special and others are frequent and even by Peter Campbell Smith.
7. Frequently Special by Roger Bell_West.
Repository Stats GitHub
1. Commits: 29,788 (+103
)
2. Pull Requests:,269 (+38
)
3. Contributors: 214 (+1
)
4. Fork: 271 (+3
)
5. Stars: 148
SPONSOR
Our solo sponsor Pete Sergeant
has been a great support to keep us motivated. We are lucky that he agreed to continue the journey with us in the year 2022. I would like to personally thank Pete and his entire team for their generosity. It would be great if we could add few more to sponsor the prize money so that we could go back and declare weekly champions as we have done in the past. I hope and wish this will become possible in 2022. The amount doesn't have to be huge. However, it would be nice to show off bunch of supporters. If an organisation comes forward and supports us then that would be the ultimate achievement.
RECAP
Quick recap of The Weekly Challenge - 195 by Mohammad S Anwar
.
PERL REVIEW
If you missed any past reviews then please check out the collection.
RAKU REVIEW
If you missed any past reviews then please check out the collection.
CHART
Please take a look at the charts showing interesting data.
I would like to THANK
every member of the team for their valuable suggestions. Please do share your experience with us.
NEW MEMBERS
Pip Stuart, an experienced Perl
hacker from Oshkosh, Wisconsin, USA
joined Team PWC
.
Carlos Oliveira, an experienced Perl
hacker joined Team PWC
.
Please find out How to contribute?, if you have any doubts.
Please try the excellent tool EZPWC created by respected member Saif Ahmed
of Team PWC.
GUESTS
Please check out the guest contributions for the Week #195.
Please find past solutions by respected guests. Please share your creative solutions in other languages.
Task 1: Pattern 132
Submitted by: Mohammad S Anwar
You are given a list of integers, @list
.
Write a script to find out subsequence that respect Pattern 132
. Return empty array if none found.
Pattern 132 in a sequence (a[i], a[j], a[k]) such that
i < j < k and a[i] < a[k] < a[j]
.
Example 1
Input: @list = (3, 1, 4, 2)
Output: (1, 4, 2) respect the Pattern 132.
Example 2
Input: @list = (1, 2, 3, 4)
Output: () since no susbsequence can be found.
Example 3
Input: @list = (1, 3, 2, 4, 6, 5)
Output: (1, 3, 2) if more than one subsequence found then return the first.
Example 4
Input: @list = (1, 3, 4, 2)
Output: (1, 3, 2)
Task 2: Range List
Submitted by: Mohammad S Anwar
You are given a sorted unique integer array, @array
.
Write a script to find all possible Number Range
i.e [x, y] represent range all integers from x
and y
(both inclusive).
Each subsequence of two or more contiguous integers
Example 1
Input: @array = (1,3,4,5,7)
Output: [3,5]
Example 2
Input: @array = (1,2,3,6,7,9)
Output: [1,3], [6,7]
Example 3
Input: @array = (0,1,2,4,5,6,8,9)
Output: [0,2], [4,6], [8,9]
Last date to submit the solution 23:59 (UK Time) Sunday 25th December 2022.
Top comments (0)