The Weekly Challenge - 216

Monday, May 8, 2023| Tags: Perl, Raku










09. TASK #1: Registration Number

10. TASK #2: Word Stickers


Welcome to the Week #216 of The Weekly Challenge.

We have a new member RibTips in the Team PWC sharing the first contributions in Perl.

Welcome back Lance Wicks after the break. We all missed you. Thank you for your contributions in Perl, Go and Python.

Finally we have managed to interview the champion Ali Moradi. Please do checkout it out, it was fun. There are still few pending ones, I would like to get it over.

Leo Manfredi, I am still waiting for you. Please share your email to so that the FREE book coupon can be shared with you.

Today, we are giving away Coupon #39 to Jaldhar H. Vyas for the book, Learning Perl Exercises by brian d foy. I will share the details with you in a separate email.


  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.  Athanasius 20.  David Ferrone
21.  Thomas Kohler 22.  Adam Russell
23.  E. Choroba 24.  Pip Stuart
25.  Roger Bell_West 26.  Flavio Poletti
27.  Dave Jacoby 28.  Mariano Spadaccini
29.  Lubos Kolouch 30.  Matthew Neleigh
31.  Paulo Custodio 32.  Tyler Bird
33.  Carlos Oliveira 34.  Avery Adams
35.  Matthias Muth 36.  Leo Manfredi
37.  Peter Meszaros 38.  Arne Sommer
39. 40.
41. 42.
43. 44.
45. 46.
47. 48.
49. 50.

Last 5 weeks mainstream contribution stats. Thank you Team PWC for your support and encouragements.

  Week      Perl       Raku       Blog   
   211       55       31       21   
   212       54       29       22   
   213       49       28       23   
   214       38       18       13   
   215       60       32       23   

Last 5 weeks guest contribution stats. Thank you each and every guest contributors for your time and efforts.

  Week      Guests       Contributions       Languages   
   211       11       38       12   
   212       10       32       12   
   213       11       33       13   
   214       05       22       08   
   215       10       47       16   

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  (1508)
 2. Haskell (547)
 3. Ruby    (508)
 4. Lua     (467)
 5. C       (418)
 6. C++     (371)
 7. Rust    (352)
 8. BQN     (269)
 9. Go      (257)
10. Java    (223)

Blogs with Creative Title

1. Odd Placement by Arne Sommer.

2. Bad Words and Looking For Zeros by Avery Adams.

3. Adopt a chilly ghost by Peter Campbell Smith.

4. Placing the Odd by Roger Bell_West.

GitHub Repository Stats

1. Commits: 32,302 (+147)

2. Pull Requests: 8,030 (+46)

3. Contributors: 222

4. Fork: 279 (+1)

5. Stars: 152

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 2023. 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 2023. 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.


Quick recap of The Weekly Challenge - 215 by Mohammad S Anwar.


If you missed any past reviews then please check out the collection.


If you missed any past reviews then please check out the collection.


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.


RibTips, an expert Perl hacker joined the 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.


Please check out the guest contributions for the Week #215.

Please find past solutions by respected guests. Please share your creative solutions in other languages.

Task 1: Registration Number

Submitted by: Mohammad S Anwar

You are given a list of words and a random registration number.

Write a script to find all the words in the given list that has every letter in the given registration number.

Example 1

Input: @words = ('abc', 'abcd', 'bcd'), $reg = 'AB1 2CD'
Output: ('abcd')

The only word that matches every alphabets in the given registration number is 'abcd'.

Example 2

Input: @words = ('job', 'james', 'bjorg'), $reg = '007 JB'
Output: ('job', 'bjorg')

Example 3

Input: @words = ('crack', 'road', 'rac'), $reg = 'C7 RA2'
Output: ('crack', 'rac')

Task 2: Word Stickers

Submitted by: Mohammad S Anwar

You are given a list of word stickers and a target word.

Write a script to find out how many word stickers is needed to make up the given target word.

Example 1:

Input: @stickers = ('perl','raku','python'), $word = 'peon'
Output: 2

We just need 2 stickers i.e. 'perl' and 'python'.
'pe' from 'perl' and
'on' from 'python' to get the target word.

Example 2:

Input: @stickers = ('love','hate','angry'), $word = 'goat'
Output: 3

We need 3 stickers i.e. 'angry', 'love' and 'hate'.
'g' from 'angry'
'o' from 'love' and
'at' from 'hate' to get the target word.

Example 3:

Input: @stickers = ('come','nation','delta'), $word = 'accommodation'
Output: 4

We just need 2 stickers of 'come' and one each of 'nation' & 'delta'.
'a' from 'delta'
'ccommo' from 2 stickers 'come'
'd' from the same sticker 'delta' and
'ation' from 'nation' to get the target word.

Example 4:

Input: @stickers = ('come','country','delta'), $word = 'accommodation'
Output: 0

as there's no "i" in the inputs.

Last date to submit the solution 23:59 (UK Time) Sunday 14th May 2023.


If you have any suggestions or ideas then please do share with us.

Contact with me